Skip to content

2-Structuring and testing data/week4/1-preparation.md #29

@tam-fr

Description

@tam-fr

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

documentationImprovements or additions to documentation

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions