メインコンテンツまでスキップ
Version: Next

pnpm setup

このコマンドは、pnpmのスタンドアロンインストールスクリプトによって使用されます。 For instance, in https://get.pnpm.io/install.sh.

セットアップは次のアクションを実行します。

  • pnpm cliのホームディレクトリの作成
  • シェルの設定ファイルを更新して、PATH に pnpm のホームディレクトリを追加
  • pnpm 実行可能ファイルを pnpm ホームディレクトリにコピー
ヒント

After upgrading to pnpm v11, run pnpm setup to update your shell configuration. In v11, globally installed binaries are stored in a bin subdirectory of PNPM_HOME.