PNPM
PNPM Installation
Using Corepack or npm (recommended installation):
# Using Corepack.
corepack enable pnpm
# Using npm.
npm install -g pnpm
alias np=pnpm
source ~/.zshrc
which pnpm
pnpm --version
pnpm store path
Using a standalone script (without Node.js installed):
# By script.
wget -qO- https://get.pnpm.io/install.sh | sh -
# By manual download.
mv ./pnpm-linux-x64 ./pnpm
chmod +x ./pnpm
./pnpm setup --force
PNPM Configuration
pnpm config set registry https://registry.npmmirror.com/