Giter Club home page Giter Club logo

node-version-fix's Introduction

Node Version Fix

Having problems with your current version of Node? Getting some funky errors? Well look no further because this guide will get you set up with a different version of Node.

If you are using a Windows machine, download git-bash before proceeding.

Step 1

If you have already installed the latest version of Node at nodejs.org, then go ahead and skip to step two. If not, download the latest stable release of Node.

Step 2

Crack open your terminal or git-bash and navigate to your home/root directory. Just like NPM, Node also has a version manager, meet NPM's cousin, NVM. Type/copy & paste this into your terminal:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash

This will install NVM on your machine.

Once the installation of NVM is complete, type/copy & paste both of these lines into your terminal:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

This will allow you to use NVM to easily install and switch between versions of Node!

Just to ensure NVM properly installed, type this into your terminal command -v nvm.

As long as you see nvm listed below your command, you are in good shape.

Step 3

Now this is where the magic happens! Type out nvm install 5.3 to install version 5.3. Now type out nvm use 5.3 to use our newly downloaded version.

Type node -v into the terminal to verify installation of the correct version of Node.

You should now see v5.3 in your terminal.

Happy coding!

Contributions

If you see a problem or a typo, please fork, make the necessary changes, and create a pull request so we can review your changes and merge them into the master repo and branch.

Copyright

© DevMountain LLC, 2017. Unauthorized use and/or duplication of this material without express and written permission from DevMountain, LLC is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to DevMountain with appropriate and specific direction to the original content.

node-version-fix's People

Contributors

bryansmith33 avatar devlemire avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.