chocolatey nodejs

  1. Open a command prompt as an administrator.
  2. Run the following command to install Chocolatey:
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
  1. Close and reopen the command prompt to ensure choco is on the PATH.
  2. Run the following command to install Node.js using Chocolatey:
choco install nodejs