package.json. Under the hood it will use transparently
yarncommands to install, remove or update dependencies (to use *yarn** it requires yarn.lock file to be present in project folder.*)
Simplest way to run
npm-guiis by using
~/$ npx npm-guiIt will run the newest version of
npm-guiwithout installing it on your system.
npm-guicould also be installed as global dependency:
npm install -g npm-guior locally:
npm install npm-gui
npm-guiapp will be accessible in browser under address http://localhost:1337/. Remember to first use a command below:
When installed as global dependency you could run
npm-guiwith command line:
Or you could run
npm-guicommand in you desired folder:
~/workspace/project1$ npm-guiIf you need to start app on another
host/port, you could add
host:portargument to command for example:
~/$ npm-gui localhost:9000
To change project press folder icon in top-right corner. Navigation panel will allow you to change folder - it must contain yarn.lock, package.json or bower.json file to be choosen.
To install new dependency you can use search/add button. After typing name of the dependency in input - press search button - results will appear on list below. You can switch here between npm/bower repository. You must also decide will dependency be installed as production or development. After successful installation of new dependency it will appear on project list.
To remove dependency from your project simply press trash icon on the right.
To do a batch dependencies update and save new versions to package.json, for example wanted, press one of the green button above list of project dependencies.
To get more readable log you can use enlarge button which will change width of console.
Consoles are not self-closing they will be visible until you close them with remove button