winget
The command-line package manager built into current versions of Windows.
In more detail
You install software by its package ID, and winget upgrade updates what it installed. It is the Windows counterpart of apt or Homebrew.
Examples
winget install --id Git.Git -ewinget install GoLang.Gowinget install Hashicorp.TerraformIn Terraform: On Windows, winget can install Terraform in one command. Without a package manager you download the zip file, unpack it and add the folder to your PATH yourself.Related terms
- package manager — A tool that installs, updates and removes software together with what it depends on, such as apt on Debian, apk on Alpine or Homebrew on macOS.
- installing Git — Putting the git program on a computer, which is done differently on each operating system.
- Chocolatey — A community package manager for Windows, used from the terminal with the choco command.
- PATH — An environment variable holding a list of folders the shell searches, in order, to find the program for a command you type.
Taught in
- Installing Git, And Telling It Who You Are — Advanced Git Internals & Distributed Workflows
- Installing the Go Toolchain — Concurrent Systems Programming with Go
- Installing Terraform And Meeting The CLI — Infrastructure as Code with Terraform