Install software like a pro
Package managers let you install, update, and remove software from the terminal with a single command.
By operating system
| System | Manager | Installation |
|---|---|---|
| macOS | Homebrew | See below |
| Linux | apt, dnf, pacman | Already installed |
| Windows | winget, scoop | winget comes included |
Homebrew (macOS)
Installation
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Essential commands
# Install program
brew install git
# Install GUI app
brew install --cask visual-studio-code
# Search packages
brew search docker
# Update everything
brew update && brew upgrade
# List installed
brew list
Windows: winget
# Search
winget search vscode
# Install
winget install Microsoft.VisualStudioCode
# Update everything
winget upgrade --all
Linux: apt (Ubuntu/Debian)
# Update list
sudo apt update
# Install
sudo apt install git
# Upgrade everything
sudo apt upgrade
What to install first
# macOS
brew install git node pnpm python
# Windows
winget install Git.Git OpenJS.NodeJS Python.Python.3
# Linux
sudo apt install git nodejs npm python3
Useful links
- ๐ Homebrew
- ๐ Winget Docs