Locked lesson.
About this lesson
We need one more major tool to do data analysis with Python: the Git Bash Terminal. In this video, I'll show you how to download and install it.
Quick reference
Installing The Git Bash Terminal
To run commands for our data analysis project, 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 our commands for our data analysis project.
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:05 Okay, so we've installed Python now we need one more major tool in order to do
- 00:09 data analysis with Python, and that's a terminal and
- 00:11 Windows comes with a couple of terminals, the command prompt and the PowerShell.
- 00:15 Mac and Linux come with their own terminal.
- 00:18 And if you're on Mac or Linux, you can absolutely use the terminal that comes
- 00:21 with Mac or Linux to just go to the little search function on your computer,
- 00:24 type in terminal and it'll work.
- 00:26 For us Windows users, it's better for
- 00:28 us to download a better terminal than the command prompt or the PowerShell.
- 00:32 And so that's what we're going to do in this video.
- 00:33 So head over to Google and type in git bash, that's G-I-T, B-A-S-H, two words.
- 00:40 And it's usually not the first thing that pops up.
- 00:42 It's usually the second one.
- 00:43 We'll look at the URL.
- 00:45 It's git-scm.com/downloads.
- 00:48 If you just want to punch that straight into your browser, that's okay too.
- 00:52 And now notice we're on version 2.25.0.
- 00:54 If that's a different version, by the time you watch this video, no big deal at all,
- 00:57 just download whatever the latest version is.
- 00:59 And you'll notice it comes in Windows, Mac or Linux.
- 01:02 So if you do have a Mac or Linux, you can download this tool and
- 01:06 just follow along with me.
- 01:08 That way, you don't have to use the terminal that comes with Mac or Linux.
- 01:10 But like I said, you absolutely can.
- 01:12 So, we just come over to this download button and go ahead and click it.
- 01:16 And we can save this file anywhere.
- 01:18 I'm going to save it to my desktop.
- 01:19 And again, I've already downloaded this in the past, so it's confirming.
- 01:24 When it finishes downloading, if you're on Firefox, it's going to
- 01:27 be up here in the top right hand corner where this little blue arrow is.
- 01:30 If you're using the Chrome web browser, it's going to be down here or
- 01:33 you could just navigate to your Windows desktop.
- 01:35 It'll be saved there as well.
- 01:37 So I'm going to go ahead and click this and then go ahead and open this.
- 01:43 And when we do, this is the screen that pops up.
- 01:45 Now there are a lot of installation screens for this installation wizard.
- 01:49 And I know there's like 10 of them or something.
- 01:51 And we just want the defaults for all of them.
- 01:53 So we could just keep clicking next until we're done with the installation.
- 01:58 One thing I will mention,
- 01:59 the second one right here, it's asking us what text editor we're going to be using?
- 02:03 And we're actually not using any text editor.
- 02:06 So we don't have to come in here and find one or
- 02:08 pick one, we just leave it as the default because it doesn't apply to us at all.
- 02:12 So click next., and then next again, and then next again.
- 02:17 Next, next, next, a lot of screens on this installation.
- 02:21 Next, and like I said, we just want the defaults for all of them.
- 02:24 And then finally click Install.
- 02:26 Now I'm going to click cancel and get out of here because I've already installed
- 02:29 this but you will go ahead and just click Install.
- 02:31 And then you'll get a little taskbar that sort of
- 02:34 shows you the progress while it finishes installing.
- 02:36 When it finishes, you can close out of that and you're done.
- 02:39 So that's all there is to the get bash terminal installation.
- 02:43 In order to use this, just go to your Windows start menu and type in G-I-T.
- 02:48 And the Git Bash terminal app icon will pop up, so go ahead and click that.
- 02:53 And when you do, this will pop up, this is the terminal.
- 02:56 So, if you've never used this terminal before, no big deal, I'll show you all
- 03:00 the commands we need to use, and we're not going to be using this a whole lot,
- 03:03 we just need to issue a couple of commands to install a few things behind the scenes,
- 03:08 for instance, Jupyter Notebooks and some different Python modules, NumPy,
- 03:13 Pandas, things like that.
- 03:14 We'll install those things from this terminal but
- 03:17 this is the terminal very cool very simple and straightforward and easy to use.
- 03:20 You'll notice mine says codemy@codemy, yours will say something different.
- 03:24 This is just the command prompt.
- 03:26 And it's using your logged in Windows username as the command prompt here.
- 03:32 And my username is codemy, so it's listing as codemy.
- 03:35 Whatever your username on Windows is, when you first start your Windows computer,
- 03:40 you have to log in usually with a username, that's what that is.
- 03:44 So don't worry if it's different, it will be different.
- 03:47 It's not going to be codemy and no big deal.
- 03:50 So let's get bash terminal.
- 03:51 In the next video, we'll set up our virtual environment.
Lesson notes are only available for subscribers.