# 05. Install Packages

1. Install Curl `sudo apt-get install curl`
2. Install Node `curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -`then `sudo apt install -y nodejs`
3. If prompted to choose 'yes' or 'no': choose `yes`
4. Check that it installed correctly `node -v`
5. Make sure npm is at the latest version: `npm install -g npm@latest`

If everything installed, I'd be surprised, you should have needed to run `sudo` with that last command. And I purposely left it out so we could learn something new!

**Protip:** Press the up arrow to recall the last thing you entered in the terminal and then hit `esc` two times. If you added the sudo plugin to your .zshrc file you would have seen sudo appear at the start of the line. Press enter and continue. Or just copy and paste this and I'll be done with this little lesson

`sudo npm install -g npm@latest`
