How to Install discord.js NPM Packages on Ubuntu / Debian

How to Install discord.js software package in NPM Packages

discord.js : A powerful library for interacting with the Discord API. You can installing discord.js 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 discord.js
$ sudo npm install -g discord.js

If want to update the discord.js package execute the command as below,

$ sudo npm update discord.js

Update package globally,

$ npm install -g discord.js

Git clone:

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

discord.js@11.2.1 /usr/lib/node_modules/discord.js

How to remove discord.js package :

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

$ sudo npm uninstall discord.js

Basic Information of discord.js NPM Package:

Package Name discord.js
Version 11.2.1
Description A powerful library for interacting with the Discord API
Released Date 2017-09-03T18:56:01.879Z
Published by hydrabolt
How to Learn https://www.npmjs.com/package/discord.js/tutorial