mirror of
https://github.com/wahyd4/node-prune.git
synced 2026-08-15 16:16:11 +10:00
add install to /usr/local/bin example
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user