Question

Making Node.js from source, unable to use node

Posted March 17, 2014 2.5k views
I've tried installing Node.js using the following instructions: cd /opt wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz cd node-v0.10.26 ./configure make make install However, once the installation has completed (and with no errors at that), I'm unable to run "node --version". I'm currently running on Ubuntu 13.10 x64 and have tried multiple ways to install Node.js that all result in the same issue. Could it be a PATH issue, or something else? I'm new to Node.js, and would love to learn any tips or tricks that you may have. Thanks in advance!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer
Make sure the path where you installed it is in your $PATH (typically /usr/local) with the following command:

echo $PATH

If you are unsure, uninstall it:

make uninstall

and follow these instructions:


https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#build-from-source
Submit an Answer