VPS/VDS Hosting

Install Chocolatey on a Windows VPS

Install the Chocolatey package manager in PowerShell to quickly deploy Git, 7-Zip, Node.js, or other tools from the command line.

beginner~1 min read

Chocolatey is a package manager for Windows, handy on a VPS to install or update software via the command line without clicking through multiple installers.

Prerequisites

  • Windows Server or recent Windows
  • PowerShell run as Administrator
  • Execution policy allowing the install script (see below)

Allow scripts (current session)

Open PowerShell (Admin):

PowerShell
Set-ExecutionPolicy Bypass -Scope Process -Force

Install Chocolatey

Still as administrator, run the official command (see chocolatey.org/install for updates):

PowerShell
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

Close and reopen PowerShell, then verify:

PowerShell
choco -v

Example installs

PowerShell
choco install git -y choco install 7zip -y choco install vscode -y

Upgrade all Chocolatey packages:

PowerShell
choco upgrade all -y

Best practices

  • Use -y for non-interactive server deployments.
  • Install only what you need to reduce attack surface.
  • Document versions for production and test upgrades.

Our Windows VPS are available in the same 8 locations: Windows VPS France, Windows VPS Germany, Windows VPS Netherlands, Windows VPS United Kingdom, Windows VPS USA, Windows VPS Canada, Windows VPS Turkey and Windows VPS Hong Kong. Desktop editions are offered too: Windows 10 RDP and Windows 11 RDP.

Troubleshooting

  • Access denied: ensure PowerShell is elevated.
  • Corporate proxy: configure system proxy or Chocolatey’s documented proxy options.

Chocolatey is a third-party ecosystem; verify package details on the community gallery before installing.

Latest tutorials

Stay up to date with the latest offers, discounts and special promotions.

View promotions

We use cookies

We use cookies to measure and improve our site. Privacy policy