This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
npm-gui with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
bower.json - in a friendly way. Under the hood it will use transparently
yarn commands 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-gui is by using
~/$ npx npm-gui
It will run the newest version of
npm-gui without installing it on your system.
npm-gui could also be installed as global dependency:
npm install -g npm-gui
npm install npm-gui
npm-gui app 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-gui with command line:
Or you could run
npm-gui command in you desired folder:
If you need to start app on another
host/port, you could add
host:port argument 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 successfull installation of new dependency it will appear on project list.
To remove depenedency 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