Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
satbyy
on Feb 9, 2016
|
parent
|
context
|
favorite
| on:
Diff So Fancy: make Git diffs look good
> The short reason is that NPM is the most straightforward way to get a script installed as a global binary in a cross-platform manner
Really ? All Unix-like systems (incl OS X) can do this:
/usr/bin/install myscript.sh /usr/local/bin
PS: Oh, just realized that there is
npm uninstall
as well, but not /usr/bin/uninstall (though it's just rm -f anyway)
goldbrick
on Feb 9, 2016
[–]
`install` isn't package management, or anything close to that.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Really ? All Unix-like systems (incl OS X) can do this:
PS: Oh, just realized that there is npm uninstall as well, but not /usr/bin/uninstall (though it's just rm -f anyway)