How to Install knex NPM Packages on Ubuntu / Debian

How to Install knex software package in NPM Packages

knex : A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser. You can installing knex 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 knex
$ sudo npm install -g knex

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

$ sudo npm update knex

Update package globally,

$ npm install -g knex

Git clone:

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

knex@0.14.2 /usr/lib/node_modules/knex

How to remove knex package :

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

$ sudo npm uninstall knex

Basic Information of knex NPM Package:

Package Name knex
Version 0.14.2
Description A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser
Released Date 2017-11-24T21:35:02.300Z
Published by elhigu
How to Learn https://www.npmjs.com/package/knex/tutorial