Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.55 KB

windows-powershell-install-chocolatey.md

File metadata and controls

47 lines (34 loc) · 1.55 KB

Windows Powershell install Chocolatey

Download Chocolatey to simplify installing software.

To Install Chocolatey, you must...

Open Windows Powershell as Administrator

  1. Click Windows Button
  2. Type powershell
  3. Click ctrl + shift + enter
  4. Choose Yes

At this point, you should be in a window that says Administrator: Windows Powershell

  1. Type cd $HOME or cd ~ and then click enter to change to your user directory

Install Chocolatey

You must be in Windows Powershell as Administrator to do the following steps:

  1. Copy & Paste the following:
Set-ExecutionPolicy Bypass; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

more info here

  1. Click enter
  2. Type a and then enter
  3. Wait until complete
  4. After waiting, type choco --help and then click enter -- this should output the information on chocolatey commands

Choco Install Node.js & Git

Open Windows Powershell as Administrator and have Chocolatey installed to easily install Node.js and Git

  1. Copy & Paste the following:
choco install -y nodejs
choco install -y git
  1. Click enter
  2. Wait until complete... may need to hit enter a bunch of times...
  3. After it is complete, type exit and then click enter
  4. open powershell
  5. type node -v and then click enter -- it should return the nodejs version
  6. type git and then click enter -- it should return information about git