How to Install enzyme-adapter-react-16 NPM Packages on Ubuntu / Debian

How to Install enzyme-adapter-react-16 software package in NPM Packages

enzyme-adapter-react-16 : JavaScript Testing utilities for React. You can installing enzyme-adapter-react-16 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 enzyme-adapter-react-16
$ sudo npm install -g enzyme-adapter-react-16

If want to update the enzyme-adapter-react-16 package execute the command as below,

$ sudo npm update enzyme-adapter-react-16

Update package globally,

$ npm install -g enzyme-adapter-react-16

Git clone:

$ sudo  git clone https://github.com/rektide/enzyme-adapter-react-16.git
$ sudo  npm install -g ./enzyme-adapter-react-16

enzyme-adapter-react-16@1.1.0 /usr/lib/node_modules/enzyme-adapter-react-16

How to remove enzyme-adapter-react-16 package :

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

$ sudo npm uninstall enzyme-adapter-react-16

Basic Information of enzyme-adapter-react-16 NPM Package:

Package Name enzyme-adapter-react-16
Version 1.1.0
Description JavaScript Testing utilities for React
Released Date 2017-11-15T09:05:49.109Z
Published by ljharb
How to Learn https://www.npmjs.com/package/enzyme-adapter-react-16/tutorial