add install to /usr/local/bin example

This commit is contained in:
TJ Holowaychuk
2018-04-16 15:52:28 -07:00
parent 121f38b503
commit e176926254
+9 -1
View File
@@ -6,16 +6,24 @@ node-prune is a small tool to prune unnecessary files from ./node_modules, such
## Installation
From source:
```
$ go get github.com/tj/node-prune/cmd/node-prune
```
or
From binary to `./bin/node-prune`:
```
$ curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash
```
From binary to `/usr/local/bin/node-prune`:
```
$ curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin
```
## Usage
In your app directory: