Choco
- Open PowerShell as admin
- Download Choco:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
- Test download by writing:
choco
The terminal should return something like:
Chocolatey v1.1.0 Please run 'choco -?' or 'choco <command> -?' for help menu.
- Install Git with Choco:
choco install git
- Open a new terminal and test whether Git is installed:
git
The terminal should return something like: ``` usage: git [-v | –version] [-h | –help] [-C
] [-c = ] [--exec-path[= ]] [--html-path] [--man-path] [--info-path] [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare] [--git-dir= ] [--work-tree= ] [--namespace= ] [--super-prefix= ] [--config-env= = ] [ ]
These are common Git commands used in various situations: … ```