How to install PowerCLI on Windows, Mac and Linux

Now that PowerCLI can be installed and used not only on Windows but Mac and Linux as well, I thought I would write about how to install it for each operating system. After all since every OS installs software differently so we can expect the directions to be a bit different, right? Not so fast.

For Windows:

Install-Module VMware.PowerCLI

For Mac:

Install-Module VMware.PowerCLI

and for Linux? YOU GUESSED IT.

Install-Module VMware.PowerCLI


Welcome to the New Age of PowerShell and PowerCLI. Cross-platform PowerShell modules are the future of PowerShell, and if you ask me, the future is pretty awesome.

One Response to “How to install PowerCLI on Windows, Mac and Linux

  • Thanks for your article.
    However, while I agree with your guide… I think still it is a bit “flawed”. Indeed, MacOS and Linux version assumes you already have PowerShell installed on your system. While this isn’t hard and pretty well documented, this is is still the “biggest” part required to have PowerCLI running.