Choco

less than 1 minute read

  1. Open PowerShell as admin
  2. 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'))
    
  3. Test download by writing:
    choco
    

    The terminal should return something like:

    Chocolatey v1.1.0
    Please run 'choco -?' or 'choco <command> -?' for help menu.
    
  4. Install Git with Choco:
    choco install git
    
  5. 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: … ```

Updated: