Learn to Code Special! | 30% off ALL ACCESS to One Month ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰


Getting your terminal and text editor set up

Week 1: Introduction to Ruby ยท Lesson 3 ยท

- Okay, so let's get set up on our computer.
There's really only going to be two things
that you need in this class, and I'll show you
how to get those two things ready.
The first is called the command line,
or the terminal. It's the same thing.
There's a other names for it, the shell,
which you might have heard before.
If you're on a Mac, luckily your computer
comes ready with a command line.
It's called terminal, so if you do a search
for terminal, you can find it.
It's also available in your applications folder,
which, uh, let's try to find it.
Finder > Applications
I don't think it's right here, but its in Utilities.
There it is. Terminal.
Now you might want to drag this into your docs
so you can access it easily, or if it's already
here you can click here and do ...
Keep and Doc.
If you're on a Windows, Windows comes with a version
of a terminal, it's called a Power Shell.
However, it doesn't support all the same functions
that the Mac terminal comes with, and so what I'd
actually recommend you do if you're on a Windows
is download something called, "Git Bash".
And Git Bash is a,
kind of like a program built
for Windows that let's you do a lot of the same
things that you would want to do in the terminal
on a Mac.
So download this
and yeah,
I'll tell you a little
bit more about the terminal in a second.
But basically this is a place where you can
type in commands. This cursor's right here, you hit
Enter and things happen.
And the other thing that you're going to need
is a text editor.
What I'm using as a text editor for this class
is called Sublime Text. I'm going to be using
Sublime Text 3, just make sure I have that version.
A lot of text editors are the same.
This is basically like Microsoft Word,
but for editing code, and you can put like,
"put code here", and I'm not going to save this,
obviously, 'cause it's not code.
But this is where you type in code.
The thing that makes it different from something
like Microsoft Word is that it doesn't come with all that
formatting stuff. It's super simple.
It'll recognize what kind of code you're writing
and it'll highlight stuff with different colors,
which is kind of nice. Actually, based on that
you can choose different languages, but if you
save the file with the right extension it'll do
that automatically for you.
You can use any other kind of text editor if you
have one that you prefer, but if not just go check
out Sublime Text. You can download it for free.
It's going to give you those annoying, like,
pop-ups to ask you to register and pay,
but you don't have to do that, you just click "cancel"
and you'll be good to go.
So go ahead and get those two things ready,
and then move on to the next step when you have
Sublime Text and you have your terminal
ready for you.