The last couple years Microsoft is shifting to open source and with that our beloved powershell has become Opensource too.
This allows us to run PowerCLI on both MAC and Linux. The only pre-requisite for that is Powershell Core! To install it you can use BREW
brew cask install powershell
BREW can be downloaded and installed from HERE
Installing PowerCLI then could not be easier:
pwsh
Install-Module -Name VMware.PowerCLI -Scope CurrentUser
To confirm everything is as expected you can list all newly installed modules:
Get-Module VMware.* -ListAvailable
If you don’t use trusted certs you might want to disable the cert check
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore