How to Install expand-tilde NPM Packages on Ubuntu / Debian

How to Install expand-tilde software package in NPM Packages

expand-tilde : Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.. You can installing expand-tilde 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 expand-tilde
$ sudo npm install -g expand-tilde

If want to update the expand-tilde package execute the command as below,

$ sudo npm update expand-tilde

Update package globally,

$ npm install -g expand-tilde

Git clone:

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

expand-tilde@2.0.2 /usr/lib/node_modules/expand-tilde

How to remove expand-tilde package :

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

$ sudo npm uninstall expand-tilde

Basic Information of expand-tilde NPM Package:

Package Name expand-tilde
Version 2.0.2
Description Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
Released Date 2016-12-08T05:29:17.146Z
Published by doowb
How to Learn https://www.npmjs.com/package/expand-tilde/tutorial