nvm-sh / nvm

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
MIT License
80.71k stars 8.05k forks source link

sha1sum surprise #683

Open robcolburn opened 9 years ago

robcolburn commented 9 years ago

Unmet dependency on OSX.

-bash: sha1sum: command not found

Easy solve in the usual way.

brew install md5sha1sum

Perhaps a note in the readme?

ljharb commented 9 years ago

Do you perhaps have an alias sha1 to sha1sum in your bash_profile or bashrc? You absolutely do not need to ever use brew to use nvm.

ljharb commented 9 years ago

@robcolburn ping

derekr commented 9 years ago

Related: if you are using zshuery it declares a sha1 alias which causes nvm install to not work.

https://github.com/myfreeweb/zshuery/blob/93aff05e8d3f4b5b2c9cec3627e672f42b50961b/zshuery.sh#L149

I commented it out in order to install new node versions, but not sure what the best future-friendly fix is.

ljharb commented 9 years ago

@derekr What version of nvm are you using? The latest should have fixed that.

derekr commented 9 years ago

@ljharb 0.24.0