Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling: you are.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two instances of check.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would lean on pointing to the golang docs on how to install and update your package instead of trying to maintain it here. At some point its going to be out of sync!


```
$ go version
```
Before install package make sure your GOPATH in` ~/.bash_profile` is set. It must be path to Go binaries.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make it shell-agnostic. Not everyone uses bash. Also don't forget Windows users, albeit the installer for Go on Windows should add Go to the PATH.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before installing [the] package.


```
export GOPATH="$HOME/go"
```

#### Install the package:
```
$ go get github.com/tj/node-prune/cmd/node-prune
```
Expand Down