Skip to content

Commit 51067b9

Browse files
committed
updated documentation
1 parent d6b303d commit 51067b9

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

_posts/2015-03-04-node-reinstall.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,38 @@
11
---
22
layout: post
3-
title: "nodereinstall"
3+
title: "node-reinstall"
44
description: "Complete Node Reinstall. This deletes everything, yes everything, and re-installs Node and NPM with NVM, then re-installs global NPM modules."
55
category: nodejs
66
tags: [osx, nodejs]
77
---
88

9-
This package re-installs Node.js, NPM and NVM.
9+
This package re-installs Node.js and NPM using NVM or Nave.
1010

1111
## Usage
12+
13+
`node-reinstall` can typically be run as-is, though you can specify several arguments to customize to your liking.
14+
15+
```
16+
$ node-reinstall
17+
```
18+
19+
completely re-installs Node & NPM and any global node modules.
20+
It re-installs Node using NVM or Nave
21+
22+
```
23+
$ node-reinstall -h
24+
```
25+
Usage: node-reinstall [--nave|--nvm] [-h|--help] [-v|--version] [NODE_VERSION]
26+
27+
## Commands:
28+
1229
```
13-
$ nodereinstall
30+
node-reinstall re-install node and npm using nvm
31+
node-reinstall -h [--help] show help
32+
node-reinstall -v [--version] show the node-reinstall version number
33+
node-reinstall --nave re-install using nave
34+
node-reinstall --npm re-install using nvm (the default)
35+
node-reinstall 0.12 specify a default node version (currently 0.10)
1436
```
1537

1638
## Links

0 commit comments

Comments
 (0)