https://github.com/gluons/npm-reinstall
🔄 Just reinstall NPM package.
https://github.com/gluons/npm-reinstall
install module npm package reinstall yarn
Last synced: 5 months ago
JSON representation
🔄 Just reinstall NPM package.
- Host: GitHub
- URL: https://github.com/gluons/npm-reinstall
- Owner: gluons
- License: mit
- Created: 2017-05-08T02:12:38.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-07-17T05:46:29.000Z (about 6 years ago)
- Last Synced: 2025-10-06T12:21:42.920Z (10 months ago)
- Topics: install, module, npm, package, reinstall, yarn
- Language: TypeScript
- Homepage:
- Size: 668 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NPM Reinstall
[](./LICENSE)
[](https://github.com/gluons/npm-reinstall)
[](https://www.npmjs.com/package/npm-reinstall)
[](https://www.npmjs.com/package/npm-reinstall)
[](https://travis-ci.org/gluons/npm-reinstall)
[](https://github.com/gluons/tslint-config-gluons)
[](https://github.com/carloscuesta/gitmoji)
🔄 Just reinstall [NPM](https://www.npmjs.com) package.

## What does this package do?
`npm-reinstall` will **uninstall** and **install** your packages again.
## Installation
[](https://www.npmjs.com/package/npm-reinstall)
```bash
npm install -g npm-reinstall
# or
yarn global add npm-reinstall
```
## Usage
```
Usage: reinstall [options] ...
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. 🙂