How to Install sloc NPM Packages on Ubuntu / Debian

How to Install sloc software package in NPM Packages

sloc : sloc is a simple tool to count SLOC (source lines of code). You can installing sloc 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 sloc
$ sudo npm install -g sloc

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

$ sudo npm update sloc

Update package globally,

$ npm install -g sloc

Git clone:

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

sloc@0.2.0 /usr/lib/node_modules/sloc

How to remove sloc package :

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

$ sudo npm uninstall sloc

Basic Information of sloc NPM Package:

Package Name sloc
Version 0.2.0
Description sloc is a simple tool to count SLOC (source lines of code)
Released Date 2017-01-27T22:25:10.778Z
Published by flosse
How to Learn https://www.npmjs.com/package/sloc/tutorial