Installing packages

To install the NPM packages, use the following command:

npm install -s nifty-toolkit

To install globally:

npm install -g nifty-toolkit

To update the package

npm update nifty-toolkit

If you encounter any issues installing, make sure that you have the latest version of Node.js and NPM installed, or use nvm to manage your node version.

To check your installed version, use the following command:

node -v
npm -v

More flags are available for the npm installation command, you can read it for your reference:

--save-dev 
# installs and adds the entry to the package.json file devDependencies

--no-save 
# installs but does not add the entry to the package.json file dependencies

--save-optional 
# installs and adds the entry to the package.json file optionalDependencies

--no-optional 
# will prevent optional dependencies from being installed

Last updated