How To Install Windows Programs From Command Prompt

Introduction

This article is about how to install Windows programs using the Command Prompt. This is done by using a program called Chocolatey, which is a machine package manager such as apt-get for Ubuntu and Pacman for Arch Linux & Manjaro Linux. However the programs that are installed by Chocolatey can be updated in the future as well as the package manager itself. There are many programs that are available to download and install using Chocolatey, furthermore there should be more programs available in the future. The video below will show how to install Chocolatey but also how to install programs using it.

Guide

  • Go to the Chocolatey website
  • Open an admistrative Command Prompt or PowerShell
    • Command Prompt –
      @powershell -NoProfile -ExecutionPolicy Bypass -Command “iex ((new-object net.webclient).DownloadString(‘https://chocolatey.org/install.ps1′))” && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
    • PowerShell –
      iex ((new-object net.webclient).DownloadString(‘https://chocolatey.org/install.ps1′))
    • PowerShell v3+ -
      iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
  • Then you can search for a package, such as choco install git.
  • Chocolatey Website – Link
  • Chocolatey Documentation – Link

Contact

If you need any advice or comments about this tutorial, either email me at info@matthew-allan.co.uk or comment below this tutorial. Thanks.

comments powered by Disqus