Locked lesson.
About this lesson
To run the Python programs that we write, we need a terminal. We'll be using the git bash terminal in this course, so let's show how to download and install Git Bash.
Exercise files
Download this lesson’s exercise file.
4 - Download and Install Git Bash Terminal.docx57.2 KB
Quick reference
Download and Install Git Bash
To run the Python programs that we write, we need a terminal. We'll be using the git bash terminal in this course.
When to use
We'll use the Git Bash terminal to run all Python programs.
Instructions
Head to: https://git-scm.com/downloads and download and install the latest version of the Git Bash terminal.
Hints & tips
- Download from: https://git-scm.com/downloads
- Take the default settings for all the installation wizard screens
- 00:04 Okay, in this video we're going to download the Git Bash terminal.
- 00:07 And the Git Bash terminal is what it sounds like, it's a terminal, and
- 00:10 we can run commands.
- 00:11 So with Python, you always need some sort of terminal in order to run Python,
- 00:15 in order to run commands with Python.
- 00:17 So we're going to be using this from time to time throughout this course.
- 00:20 And we're going to go ahead and download and install it right now.
- 00:22 So head over to Google or come up here to the top of your browser and
- 00:26 type in Git Bash.
- 00:27 That's GIT BASH.
- 00:31 And it's usually not the first one or two listed.
- 00:34 You have to scroll down a little bit.
- 00:36 And here's the website we want right here.
- 00:38 So it is git.scm.com4/downloads.
- 00:42 Now, this is available for Windows, Mac, or Linux.
- 00:46 But if you've got Mac or Linux you can feel free to use the terminal that just
- 00:50 comes with Mac or Linux.
- 00:51 Head over to the little search function on your computer.
- 00:53 It's usually like a magnifying glass or something.
- 00:56 Go and click that and just type in Terminal, and
- 00:58 then just click the thing that pops up.
- 01:00 Or you could just go ahead and download and
- 01:02 install the one that I'm using in this video and follow along like that.
- 01:05 Now most of the commands should be the same.
- 01:07 But if there's any differences along the way, I'll point those out for Mac and
- 01:10 Linux users.
- 01:11 So again, this is version 2.28.0.
- 01:14 If this number changes by the time you watch this video, no big deal,
- 01:17 just go ahead and download whatever the latest version is.
- 01:19 So I can click right here to download this thing.
- 01:22 And let's save this again, save it to anywhere you want.
- 01:24 I'm going to save it to my desktop.
- 01:26 And again, I've already installed this in the past so I can click yes here,
- 01:29 you will get that little message.
- 01:31 And just like the last couple of videos, you can come up here to the top right
- 01:35 corner and click your little blue arrow here.
- 01:37 Or if you're using the Chrome web browser,
- 01:39 it's down here in the bottom left hand corner.
- 01:40 Wherever your downloads are, just go ahead and click it.
- 01:43 And then just click this to open it.
- 01:45 So you should see the screen.
- 01:46 Go ahead and click Next.
- 01:47 So I should mention this installation wizard seems like
- 01:50 there's about 100 screens.
- 01:52 We just want the defaults for all of them.
- 01:54 So we're just going to click Next many, many times.
- 01:56 So before we start clicking Next, you'll notice this one,
- 01:59 it's asking us which text editor we're going to be using.
- 02:01 And Sublime Text is the default one, but if you click here,
- 02:04 there's a whole bunch of other ones.
- 02:06 If you're using a different text editor besides the blind text.
- 02:09 If you have a different one that you are familiar with and like using,
- 02:12 you could definitely do that.
- 02:13 But don't feel like you have to find it in this list and select it.
- 02:17 Because the git bash terminal and the text editor actually don't connect in any way.
- 02:22 At least we're not going to connect them in this course.
- 02:26 So this is sort of irrelevant, we can just ignore this.
- 02:29 So just click Next.
- 02:31 And then Next and Next, Next, Next, like I said, there's a bunch of screens here.
- 02:36 So Next, Next, you don't have to read any of these things.
- 02:40 Just keep clicking Next, Next.
- 02:43 And then finally, you can click install.
- 02:45 Now I've already installed this, so I won't do that,
- 02:48 but you'll go ahead and do that.
- 02:49 I'm just going to click, cancel to cancel out of this.
- 02:52 And that's all there is to it.
- 02:54 Just like with sublime text in order to run this thing,
- 02:56 head over to your windows, start menu and just type in GIT.
- 03:00 Which is just right here.
- 03:01 And when you do this will pop up.
- 03:03 This is the basic terminal.
- 03:05 Now we can type in commands and we'll get familiar with this going forward.
- 03:08 I don't want to teach anything about it in this video.
- 03:10 We just want to install it and make sure that it's running.
- 03:13 So those are the main tools that we're going to need throughout this course.
- 03:15 We're going to have to download and
- 03:17 install a couple of other little Python modules and libraries going forward.
- 03:21 But we'll download them from the terminal.
- 03:23 So there is nothing more we have to install throughout the rest of the course.
- 03:27 So this is really all the tools we need to start using Python.
- 03:29 We need Python.
- 03:30 We need something to write our code on our sublime text editor.
- 03:33 And we need a terminal to run commands on.
- 03:35 And now we have this terminal.
- 03:36 So that's all for this video.
- 03:37 In the next video, we'll look at setting up a virtual environment.
Lesson notes are only available for subscribers.