pnpm setup
此命令由 pnpm 的独立安装脚本使用。例如,在 https://get.pnpm.io/install.sh 中。
🌐 This command is used by the standalone installation scripts of pnpm. For instance, in https://get.pnpm.io/install.sh.
安装程序执行以下操作:
🌐 Setup does the following actions:
- 为 pnpm CLI 创建主目录
- 通过更新 shell 配置文件,将 pnpm 主目录添加到
PATH - 将 pnpm 可执行文件复制到 pnpm 主目录