From 230a0214092d48540f4cc95d94ee08613252b317 Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Mon, 10 Feb 2020 15:40:57 +0000 Subject: [PATCH] docs: add gobinaries.com install option --- Readme.md | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/Readme.md b/Readme.md index d8c4ab0..a79a855 100644 --- a/Readme.md +++ b/Readme.md @@ -6,24 +6,18 @@ node-prune is a small tool to prune unnecessary files from ./node_modules, such ## Installation +From [gobinaries.com](https://gobinaries.com): + +```sh +$ curl -sf https://gobinaries.com/tj/node-prune/cmd/node-prune | sh +``` + From source: ``` $ go get github.com/tj/node-prune/cmd/node-prune ``` -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: