npm install -g pnpm

或者使用以下方法将其全局安装到您的系统上:

wget -qO /bin/pnpm "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" && chmod +x /bin/pnpm