How to Install dotenv NPM Packages on Ubuntu / Debian

How to Install dotenv software package in NPM Packages

dotenv : Loads environment variables from .env file. You can installing dotenv 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 dotenv
$ sudo npm install -g dotenv

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

$ sudo npm update dotenv

Update package globally,

$ npm install -g dotenv

Git clone:

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

dotenv@4.0.0 /usr/lib/node_modules/dotenv

How to remove dotenv package :

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

$ sudo npm uninstall dotenv

Basic Information of dotenv NPM Package:

Package Name dotenv
Version 4.0.0
Description Loads environment variables from .env file
Released Date 2017-01-07T19:08:54.778Z
Published by maxbeatty
How to Learn https://www.npmjs.com/package/dotenv/tutorial