CLI Tools & Commands
Package Managers Guide
Reference syntax and key commands for managing software packages across multiple platforms like APT, Winget, and NPM.
1. Windows Package Manager (Winget)
Install, update, and search for applications natively from the Windows command line:
winget search firefox
winget install --id Microsoft.VisualStudioCode
winget upgrade --all
2. Debian / Ubuntu Package Manager (APT)
Manage system packages, update local repositories, and remove unused dependencies on Linux:
sudo apt update && sudo apt upgrade -y
sudo apt install nginx
sudo apt autoremove
3. Node.js Package Manager (NPM)
Handle project dependencies, install global utilities, and execute local scripts:
npm install
npm install -g typescript
npm run build