Skip to content

nodejs with cygwin

I keep having to redo this, so I’m copying down the trick from this article here, so I can find in the future. ┬áTo get NPM and NodeJS to work in cygwin on windows, you just have the alias them using these commands in your .bash_profile:

1
2
alias npm="/cygdrive/p/Programs/nodejs/npm.cmd"
alias node="/cygdrive/p/Programs/nodejs/node.exe"
Published inOtherScripting

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *