xxxxxxxxxx
# pnpm is shipped with corepack (part of Node.js). To enable it type:
corepack enable
# To update pnpm to the latest version:
corepack prepare pnpm@latest --activate
xxxxxxxxxx
# bash
wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
# sh
wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh -
# dash
wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.dashrc" SHELL="$(which dash)" dash -