tj / node-prune

Remove unnecessary files from node_modules (.md, .ts, ...)
MIT License
4.4k stars 130 forks source link

added curl | bash install instruction #52

Closed caarlos0 closed 6 years ago

caarlos0 commented 6 years ago

this is extremely beta, see https://github.com/goreleaser/godownloader/issues/39

tj commented 6 years ago

sweeeet, only thing I noticed is that it installs to ./bin which might surprise people if it's not in PATH, works though!!

caarlos0 commented 6 years ago

you, you'll need to set -b /usr/local/bin for example:

curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin
tj commented 6 years ago

ahh awesome yea probably the only safe default really, I'll add that example too, this will be dopeeee