diff --git a/Readme.md b/Readme.md index 32c68e8..d8c4ab0 100644 --- a/Readme.md +++ b/Readme.md @@ -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: