This article is actually displaying on how to install JQuery using npm which is executed via command line. It is executed in an environment of Command Line Interface (CLI) since the installation process just involving a step of typing the right, suitable or the correct command in the terminal or the text-based interface. It is done in Linux operating system since it actually provides the interface for executing the command. But first of all, the most important thing is to make sure that ‘npm’ as the utility used to install JQuery is already available in the operating system. To be able to do that, just type the following command :
user@hostname:/var/www/html/laravel$ npm Usage: npm
where is one of: access, adduser, bin, bugs, c, cache, completion, config, ddp, dedupe, deprecate, dist-tag, docs, doctor, edit, explore, get, help, help-search, i, init, install, install-test, it, link, list, ln, login, logout, ls, outdated, owner, pack, ping, prefix, profile, prune, publish, rb, rebuild, repo, restart, root, run, run-script, s, se, search, set, shrinkwrap, star, stars, start, stop, t, team, test, token, tst, un, uninstall, unpublish, unstar, up, update, v, version, view, whoami npm -h quick help on npm -l display full usage info npm help search for help on npm help npm involved overview Specify configs in the ini-formatted file: /home/user/.npmrc or on the command line via: npm --key value Config info can be viewed via: npm help config firstname.lastname@example.org /usr/local/lib/node_modules/npm user@hostname:/var/www/html/laravel$
After positively sure that the npm can be executed via command line through the above command execution in the terminal, just type the following command pattern to install a new module :
npm install [module_name]
The above command’s execution is shown below upon installing JQuery :
This article is simply an article written to display on how to install jstree using npm. The installation process is actually done by typing a command in the command line available in the operating system. The command line is actually a CLI (Command-Line Interface) available in the operating system such as ‘terminal’. The process is quite simple if ‘npm’ has already been installed. Just type ‘npm’ to make sure that the ‘npm’ utility has already been installed as shown below :
Actually the event for updating npm utility triggered upon executing a command for installing a package called ‘jquery’ by typing the following command :
This is an article which consists of the list of npm’s article available :
This is an article which is going to describe about what is npm and another several additional explanations on the npm itself.
What is npm ?
How to use npm ?
To be able to use npm, a command line interface is definitely needed. A CLI (Command Line Interface) is actually an interface for executing command in the command line or bash prompt such as a terminal. So, the command itself is typed into a bash prompt in a command line interface’s environment. But first of all, make sure that npm is already installed.