Locked lesson.
About this lesson
How to install Sublime Text and Git Bash Terminal for your development environment.
Quick reference
Install Sublime and Git Bash
Let's set up our development environment!
When to use
Whenever you write code, it's a good idea to use a development environment.
Instructions
The tools we'll use throughout this ourse are Sublime Text, Git Bash Terminal, and Ruby itself.
All are totally free.
Hints & tips
- Rubyinstaller.org
- SublimeText.com
- Git-scm.com/downloads
- 00:04 In this video, we're going to start to download the tools we need to create our
- 00:07 development environment.
- 00:09 And Ruby's pretty simple when it comes to its requirements,
- 00:12 we really only need three things.
- 00:13 We need a text editor, something to write our code on.
- 00:16 We need a terminal, something to run our code on.
- 00:18 And we need to download the actual Ruby programming language itself.
- 00:22 So in this video, we're going to download the text editor and the terminal.
- 00:26 So you can use absolutely any text editor that you like.
- 00:30 There are tons of free coding text editors out there,
- 00:33 a lot of people have their own favorite.
- 00:34 My favorite is something called Sublime Text,
- 00:36 it's really kind of the industry standard, the leader.
- 00:39 A lot of people use it, I'd say probably most people use it.
- 00:42 So head over to Google and type in Sublime Text.
- 00:44 Like I said, if you have something else that you like,
- 00:47 absolutely feel free to use it.
- 00:49 You don't have to use Sublime, but it's really good, it works very well,
- 00:52 it's completely free.
- 00:53 Now, it's noticed that I'm on a Windows computer, so
- 00:55 it's offering me the Windows download link.
- 00:57 If you're on Mac or Linux, you'll see the Mac or Linux download link right here.
- 01:01 You can install this for Windows, Mac, or Linux.
- 01:04 Now notice this is Sublime Text 3, build 3207.
- 01:08 If these numbers change by the time you watch this video, perfectly fine,
- 01:11 you can just download the latest version, no big deal.
- 01:13 So let's go ahead and click this to download, and you can save this anywhere,
- 01:17 I'm just going to save it on my desktop, click Save.
- 01:20 Now I'm using Chrome so you can see it downloads right here to the corner.
- 01:23 If you're on Firefox or Safari or some other web browser,
- 01:26 just navigate to wherever you saved the file and double-click it.
- 01:29 But we on Chrome here can just click it right here to install it.
- 01:33 All right, so this is the installation wizard.
- 01:34 There's really just one screen, you just click Next, and then click Install.
- 01:38 Now I've already installed it on my computer, so
- 01:40 I'm not going to install it again.
- 01:41 But you'll go ahead and click this Install button to finish the installation, so
- 01:44 I'll just Cancel for now.
- 01:46 And to run this, just head over to your Windows start menu, type in Sublime, and
- 01:50 it'll pop right up.
- 01:51 This is what it looks like, we'll get into this later, and
- 01:53 I'll show you how to use this.
- 01:55 So now we just need to download a terminal.
- 01:57 And Windows comes with a couple of terminals, the Command Prompt or
- 02:00 PowerShell, and you can use those,
- 02:02 but they're not as good as what I'm going to suggest.
- 02:05 I like something called the Git Bash terminal,
- 02:07 it's very similar to the terminal that runs on Mac or Linux.
- 02:11 So if you have a Mac or Linux, just use the terminal that came with your computer.
- 02:15 You can use it by going to the little search thing on your computer and
- 02:18 typing in terminal, and it'll pop right up.
- 02:20 For us Windows users, let's just head over to Google and type in Git Bash.
- 02:25 And here we see it is git-dcm.com/downloads.
- 02:30 Go ahead and click this, and you'll notice it's version 2.22.0.
- 02:34 If that number is different by the time you watch this video,
- 02:37 no big deal, just download the latest version.
- 02:40 And again, you'll notice there's a Mac or Linux version.
- 02:42 If you have a Mac or Linux, again, I don't recommend that you download this.
- 02:45 You just don't need to,
- 02:46 you could just use the terminal that comes with your computer.
- 02:49 They work almost identically, so it really doesn't matter.
- 02:52 But for us Windows users, go ahead and click this download link, and
- 02:56 it'll pop up in a second here, save it anywhere.
- 02:58 I'm just going to save it to my desktop, and this is a notoriously slow download.
- 03:03 It's 44 megabytes, which is not very big,
- 03:05 you can see it's taking a few seconds to download.
- 03:08 We'll just wait a second here, and it's finished, so
- 03:10 we can click it to install it.
- 03:12 So go ahead and accept the license, now,
- 03:13 there are a lot of screens on this installation wizard.
- 03:16 And we just want the defaults for everything, so
- 03:18 we're just going to click Next a bunch of times.
- 03:21 So before we do that, though, the first thing it asks for
- 03:23 is what text editor you're using.
- 03:25 Now, we happen to be using Sublime Text, which is the default.
- 03:29 But if you're using something else, you don't have to come in here and find it.
- 03:33 Right, just leave it as Sublime,
- 03:35 because these two things don't interact in any way, just ignore that and click Next.
- 03:39 And then let's just go through here, Next, Next, Next, Next, Next, Next, Next.
- 03:45 And finally you get to this last screen, and go ahead and
- 03:48 click Install to finish installing.
- 03:50 I've already installed this on my computer, so I'm not going to do that, but
- 03:52 you'll go ahead and do that.
- 03:53 For now, I'm just going to cancel out of here, and that's pretty much it.
- 03:56 To run this just head over to your Windows start menu, and type in Git Bash,
- 04:01 that's G-I-T-B-A-S-H, right?
- 04:03 And when you do, it'll pop right up, click on it, and this is what it looks like.
- 04:07 We'll get into this in the next couple of videos, I'll show you how to use this.
- 04:10 That's it, those are the two tools that we need to program in Ruby on our computer.
- 04:16 So in the next video, we'll download and install the actual Ruby programming
- 04:19 language itself, and then we'll be ready to go.
Lesson notes are only available for subscribers.