π§πΎβπ» setup
Get setup with the main resources you’ll need for JS1
π§° Install a UNIX based operating system
Learning Objectives
If you get stuck on any of the below or above instructions, please post in your class channel on Slack.
You probably already have this if you have done Fundamentals and Html/CSS.
You probably already have this if you have done Fundamentals and Html/CSS.
Note
If you have a Mac or Linux machine already, you already have a UNIX based operating system. All CYF-supplied laptops run Mac OS or Linux. If you have your own machine and it runs Windows, you should already have set up a Linux partition after Fundamentals.
If you have still not done this, you must do it now. We cannot support trainees using Windows. It takes too much time from everybody else. If you need help doing this, post in #cyf-ask-tech-stuff, or bring your laptop to a CYF co-working space to get support. It’s normal to need help with this process.
π§° Install Node
Learning Objectives
If you get stuck on any of the below or above instructions, please post in your class channel on Slack.
On Ubuntu
Check whether you already have NodeJS installed by running
node -v
in a terminal. The command should return a version number. If it does, you can skip the next steps.Install NodeJS and npm by copying and pasting the following into the terminal:
sudo apt-get install -y curl && curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - && sudo apt-get install -y nodejs
Check that you have successfully installed NodeJS by ensuring that the command
node -v
returns returns a version number e.g. “v18.12.1”Check that you have successfully installed npm by ensuring that the command
npm -v
returns a version number e.g. “8.19.2”
On Mac
- Install Homebrew, which is a package manager for MacOS. Copy and paste the following command into your terminal:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Ensure that you have successfully installed Homebrew by entering
brew -v
in your terminal - you should get an output that says something like"Homebrew <version number>"
Install NodeJS and npm by typing
brew install node@18
Check that you have successfully installed NodeJS by ensuring that the command
node -v
returns a version number e.g. “v18.12.1”Check that you have successfully installed npm by ensuring that the command
npm -v
returns a version number e.g. “8.19.2”