npm config edit
Category: Node.js & npm/yarn
npm config edit
Open the global .npmrc config file in your default text editor
Opens your global .npmrc file in the default editor. .npmrc is a plain-text INI file that controls npm's behavior for all projects on the machine.