diff --git a/Readme.md b/Readme.md index d1847f5..3412d3c 100644 --- a/Readme.md +++ b/Readme.md @@ -5,7 +5,18 @@ node-prune is a small tool to prune unnecessary files from ./node_modules, such as markdown, typescript source files, and so on. Primarily built for [Up](https://github.com/apex/up) which lets you deploy serverless web applications in seconds. ## Installation +If Go is already installed check check if your are using latest version, comparing to https://github.com/golang/go/releases, type this command to check your local Go version +``` +$ go version +``` +Before install package make sure your GOPATH in` ~/.bash_profile` is set. It must be path to Go binaries. + +``` + export GOPATH="$HOME/go" +``` + +#### Install the package: ``` $ go get github.com/tj/node-prune/cmd/node-prune ```