

exe file and allow the application to make changes to your PC. Once Git Bash is downloaded, run the downloaded.

Navigate to the Git Bash installation page and click the Download button.Ģ. You can either watch the following video, or read the rest of this article.ġ. (If you haven’t used Git before, try out Learn Git & GitHub course.) Git Bash allows us to easily access Bash as well as another tool we’ll be using later called Git, inside the Windows environment. To use Bash on a Windows computer, we will download and install a program called Git Bash. Because of the strength of the open source community and the tools they provide, mastering Bash is a better investment than mastering Command Prompt. While this has many of the same features as Bash, Bash is much more popular. Windows has a different CLI, called Command Prompt. Simply right click (alt-click) the Terminal icon in your dock, then select “Options”, then “Keep In Dock.”Ĭontinue to the “Try it Out!” section below for some simple first steps with your new tool. For ease of access later, you can keep Terminal in your Dock. Open the Terminal application and you’re ready to go!ģ. Once you’re in the Utilities folder you will see the application Terminal. First open the Applications folder, then open the Utilities folder.Ģ. To access Bash in MacOS, you can use an application called Terminal.ġ. In most ways Zsh is an exact replacement for Bash, so there is no need to switch over or install Bash instead.

Bash Setup for Mac and Windows Mac users:Īs mentioned before, Bash is the default shell on Linux and MacOS up through version 10.14 (Mojave), so good news, you don’t have to install anything! MacOS version 10.15 (Catalina) and higher uses a similar, but slightly different default shell called Z shell or Zsh. Better yet, try it yourself with one of our Bash courses.

If you want to learn more about Bash, this Wikipedia article is a good place to start. For these reasons, Bash is the most used and widely distributed shell. Bash is the default shell for Linux and Mac up through macOS 10.14 (Mojave). Since its beginning, it has been supported by a large community of engineers who have worked to make it an incredible tool. Bash is “open source,” which means that anyone can read the code and suggest changes. What is Bash?īash, or the Bourne- Again SHell, is a CLI that was created in 1989 by Brian Fox as a free software replacement for the Bourne Shell. This short tutorial will walk you through the steps for setting up the command line application on your computer.Ĭommand Line Interfaces (CLIs) come in many forms. The command line is a powerful tool used by developers to find, create, and manipulate files and folders.
