The recommended way to run npm-gui is by using npx:

1~/$ npx npm-gui@latest

It will run the most recent version of npm-gui without installing it on your system.

Installation as global dependency

npm-gui could also be installed as a global dependency:

1~/$ npm install -g npm-gui

and then run with just:

1~/$ npm-gui
1~/$ npm install npm-gui