- [Instructor] Before we really get started,
let's make sure that you have all
the tools needed on your machine.
First, let's install an editor.
In this course, I will use Visual Studio Code.
It's free and it comes with great
Node.js support out of the box.
I highly recommend that you use it as well,
at least for this course.
After installing it, you can open it right away
and it will present you with a welcome screen.
Visual Studio Code comes with an integrated terminal
that lets you run shell commands.
Let's open it by selecting View, Terminal.
And there, now let's check if we
have the right version of Node.js installed.
You see that I'm having 10.14.1 installed,
which is the currently long-term
supported version of Node.js.
If you haven't Node.js installed yet,
just head over to the Node.js website
and install the currently long-term supported version there.
Let's also check the version of NPM.
We see that we have 6.4.1 installed right now,
and we can use NPM to update itself,
so let's make sure that we have
the latest version of NPM in place,
and for that, I run sudo because
I'm on a Mac and I need elevated privileges.
NPM install -g
for globally, npm@latest.
Okay, we see that we already have
the latest version of NPM installed.
The sampler project we will be working on
comes with a configuration for ESLint.
There is a Visual Studio Code extension for ESLint.
You can install it by clicking on the extensions icon
on the left menu bar and then looking for ESLint.
And simply installing it.
Now you have all the tools needed in place
and we can proceed with the rest of the course.