CLI package managers
Installing software through a Graphical User Interface (GUI) is slow and challenging to automate. As a full-stack developer, whether you're a Windows or a Mac user, you must rely on Command-Line Interface (CLI) package managers to efficiently install and configure the software you depend on.
Anything that can be expressed as a CLI command can also be automated.
Installing Chocolatey for Windows
Chocolatey is a CLI-based package manager for Windows that can be used for automated software installation. To install Chocolatey on Windows, you need to run an elevated command shell:
- Launch the Start menu
- Start typing in
PowerShell
- You should see Windows PowerShell Desktop App as a search result
- Right-click on Windows PowerShell and select Run as Administrator
- This triggers a User Account Control (UAC) warning; select Yes to continue
- Execute the install command found at https://chocolatey.org/install
- in PowerShell to install the Chocolatey package manager:
PS>...