C:\> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
或者:
PS:\>iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))