-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Preparation
Install a UNIX based operating system
Learning Objectives
Check you have a Unix based operating system
If required, setup a Unix based operating system
Download and install Node using nvm
If you get stuck on any of the below or above instructions, please post in your class channel on Slack.
If you have a Mac or Linux machine already, you already have a UNIX based operating system. All HYF-supplied laptops run Linux. If you have your own machine and it runs Windows, you should have set up a Linux partition.
❗❗Check if you already have NodeJS installed by running node -v in a terminal. The command should return a version number like v22.11.0. . If it does, you can skip the next steps.
On Ubuntu
Install nvm by running the following commands in your terminal:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
After the installation is complete, you’ll need to source the nvm script by running:
source ~/.bashrc
Install the latest LTS version of Node.js by running:
nvm install --lts
Check that you have successfully installed Node.js by running:
node -v
You should see a version number like v22.11.0.
Check that you have successfully installed npm by running:
npm -v
You should see a version number like 10.9.0.
Metadata
Metadata
Assignees
Labels
Projects
Status