How to Install requirejs NPM Packages on Ubuntu / Debian

How to Install requirejs software package in NPM Packages

requirejs : Node adapter for RequireJS, for loading AMD modules. Includes RequireJS optimizer. You can installing requirejs npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install requirejs
$ sudo npm install -g requirejs

If want to update the requirejs package execute the command as below,

$ sudo npm update requirejs

Update package globally,

$ npm install -g requirejs

Git clone:

$ sudo  git clone https://github.com/rektide/requirejs.git
$ sudo  npm install -g ./requirejs

requirejs@2.3.5 /usr/lib/node_modules/requirejs

How to remove requirejs package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall requirejs

Basic Information of requirejs NPM Package:

Package Name requirejs
Version 2.3.5
Description Node adapter for RequireJS, for loading AMD modules. Includes RequireJS optimizer
Released Date 2017-08-20T23:03:32.003Z
Published by jrburke
How to Learn https://www.npmjs.com/package/requirejs/tutorial