JS Package-Managers
Published at Apr 29, 2023
NPM
Installisation NPM
Debian-based Linux distribution: sudo apt-get install npm
macOS: brew install npm
Windows (with PowerShell): winget install NodeJS.NodeJS
Winget (if not installed on Windows): dism /Online /Add-Capability /CapabilityName:Microsoft.Windows.AppDev.WindowsPackageManagerv1~~~~0.0.1.0
PNPM
Installisation PNPM
pnpm is a ordinary version of pnpm, which needs Node.js to run:
npm install -g pnpm
@pnpm/exe is packaged with Node.js into an executable, so it may be used on a system with no Node.js installed:
npm install -g @pnpm/exe