the invention relates to a method for operating a compressor unit , in particular for underwater operation . the aim of the invention is to minimize the risk of gas hydrate formation during the compression process . to reduce said risk , according to the method components of the compressor unit are supplied with anti - freeze and / or anti - freeze is injected into the flow path of the conveyed medium to be compressed . the invention also discloses a compressor unit , which operates according to said method .