npm

Package manager for JavaScript packages.

Install the latest npm version as described here using:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash
\. "$HOME/.nvm/nvm.sh"
nvm install 26 # Add the most recent version number in this line
node -v # Verify the version
npm -v # Verify npm version

Webpage

View package dependency trees on anvaka.com

pnpm

Pnpm can be installed via npm using

npm install -g pnpm@latest-11

(Source)