By cory107160
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!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Make sure the path where you installed it is in your $PATH (typically /usr/local) with the following command: <br> <br>echo $PATH <br> <br>If you are unsure, uninstall it: <br> <br>make uninstall <br> <br>and follow these instructions: <br> <br> <br>https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#build-from-source
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.