Skip to content

gluons/npm-reinstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

NPM Reinstall

license GitHub top language npm npm Travis TSLint Gitmoji

๐Ÿ”„ Just reinstall NPM package.

Screenshot

What does this package do?

npm-reinstall will uninstall and install your packages again.

Installation

NPM

npm install -g npm-reinstall
# or
yarn global add npm-reinstall

Usage

Usage: reinstall [options] <package> ...

Dependency Options:
  --global, -g    Reinstall global package                             [boolean]
  --save, -S      Reinstall package in dependencies                    [boolean]
  --save-dev, -D  Reinstall package in devDependencies                 [boolean]

Options:
  --help, -h     Show help                                             [boolean]
  --version, -V  Show version number                                   [boolean]
  --npm, -n      Force to use npm                                      [boolean]
  --yarn, -y     Force to use Yarn                                     [boolean]
  --pnpm, -p     Force to use pnpm                                     [boolean]
  --verbose, -v  Display more information                              [boolean]

Examples:
  reinstall                        Reinstall all local packages in current working directory.
  reinstall --global vue-cli       Reinstall vue-cli globally
  reinstall --save vue             Reinstall vue as dependencies
  reinstall --save-dev vue-loader  Reinstall vue-loader as devDependencies

rin is an alias for reinstall.
You can also use it. ๐Ÿ™‚