pnpm config
エイリアス: c
設定ファイルを管理します。
設定ファイルは INI 形式です。
ローカル設定ファイルはプロジェクトのルートにあり、 .npmrcという名前です。
グローバル設定ファイルは以下のいずれかの場所にあります。
- $XDG_CONFIG_HOME 環境変数が設定されている場合、 $XDG_CONFIG_HOME/pnpm/rc
 - Windowsの場合: ~/AppData/Local/pnpm/config/rc
 - macOSの場合: ~/Library/Preferences/pnpm/rc
 - Linuxの場合: ~/.config/pnpm/rc
 
コマンド
set <key> <value>
設定キーを指定された値に設定します。
get <key>
指定されたキーの設定値を表示します。
delete <key>
設定ファイルから設定キーを削除します。
list
すべての設定を表示します。
オプション
--global, -g
Set the configuration in the global config file.
--location
When set to project, the .npmrc file at the nearest package.json will be used.
When set to global, the performance is the same as setting the --global option.
--json
Show all the config settings in JSON format.