Fix “unknown option ‘-q’” nvm install error

Published on July 30, 2015 in How-tos
Read time: 1 min

Today I’ve stumbled upon a strange error installing nvm.

unknown option '-q'

It turned out it was not related to nvm, but more to my bash settings. A dummy alias was causing the error and trying to give me a bad day. I luckily find the solution.

You simply need to remove all sha1 aliases.

Check this issue on github to know more.

Thanks for reading.


Got some words you want to share? Tell me!