How to Install antlr4 NPM Packages on Ubuntu / Debian

How to Install antlr4 software package in NPM Packages

antlr4 : JavaScript runtime for ANTLR4. You can installing antlr4 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 antlr4
$ sudo npm install -g antlr4

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

$ sudo npm update antlr4

Update package globally,

$ npm install -g antlr4

Git clone:

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

antlr4@4.7.0 /usr/lib/node_modules/antlr4

How to remove antlr4 package :

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

$ sudo npm uninstall antlr4

Basic Information of antlr4 NPM Package:

Package Name antlr4
Version 4.7.0
Description JavaScript runtime for ANTLR4
Released Date 2017-03-31T17:07:23.074Z
Published by parrt
How to Learn https://www.npmjs.com/package/antlr4/tutorial