Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.68 KB

3-windows-setup-instructions-node-install.md

File metadata and controls

47 lines (31 loc) · 1.68 KB

Windows Setup Instructions

Install NVM and NodeJS

NodeJS is a runtime environment for JavaScript. It allows us to build and run javascript applications. We shall make extensive use of this throughout the course.

We will use a tool called nvm to install NodeJS - Link to GitHub Repository

  • Open a new git bash window by clicking it's icon in the Windows Taskbar - set up in [Step 1 Install git & Git Bash](windows-setup-instructions-step-1/### Open git Bash )

  • Paste the following command into the git bash window

    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
    
  • Once the above completes, close the current git bash window and open a new one before you continue.

  • Install the latest version of NodeJS

    nvm install --lts

    Note: it might take a few seconds before any output starts to appear in the terminal.

  • Restart terminal and run the final command.

    nvm use --lts
  • Confirm that you are using the latest version of Node and npm. Version 16 is the latest stable. If you installed version 17 for Node, that is also OK. npm should be version 8+.

    node -v && npm -v

Further reading on nvm: https://github.com/nvm-sh/nvm


Return to the table of comments at the top of the first page


Previous Next
Step 2 Install git & Git Bash Step 4 Setup SSH Keys for Github