In short, a terminal is another way to interact with your computer—to use programs, run scripts, look at files and information, and carry out other types of instructions.
Using a terminal is intimidating at first, but learning just a few basics will have a drastic impact on your coding journey. Luckily, picking up what you need to get going is easy and fast!
This quick start focuses on understanding the fundamentals of the terminal. At the end of this guide, you will know:
For a more in-depth walkthrough, sign up for our newsletter to be notified when the upcoming “Terminal Resources” section releases!
A terminal is a program you can use to interact with the files and software on your computer in a powerful and somewhat old-school way. Unlike the Graphical User Interface (GUI) you’re used to, with its many clickable buttons and draggable icons, a terminal lets you controls your computer using text instructions.
When given your text-only instructions, the terminal will also reply in text-only form, whether it’s telling you what folder you’re working on, returning a list of records, giving you live updates on a software installation, or letting you know something went wrong.
For most popular operating systems (like Windows, MacOS, and many Linux distributions), the more intuitive GUIs have completely replaced the terminal for everyday use by casual users. Thankfully, all of these systems also include a built-in terminal program for their more adventurous users! While there are many different terminal programs out there to choose from, these built-in terminals are perfect to get started with.
In short, a terminal is another way to interact with your computer—to use programs, run scripts, look at files and information, and carry out other types of instructions.
Terminals are more than just a replacement for your GUI. As mentioned before, they’re a powerful tool once you become comfortable with them. There are many reasons to learn to use terminals:
Since terminals are programs, you have a choice about which terminal program to use. Although many of them are similar, some have useful features like allowing copy and paste (not a given!) or running multiple terminal tabs in one window.
In most cases, there is no wrong choice for your terminal, and it all comes down to personal preference. As you continue on your programming journey, you may want to try different terminals or customize the one you’re using. For now, we’ve listed some great first choices.
Most Windows machines come with two terminal programs already installed: Command Prompt and PowerShell.
PowerShell is our recommended terminal for Windows because it allows you to use Unix-like commands on a Windows system. This means you never have to look up Windows-specific instructions!
If you find PowerShell isn’t installed, Windows has instructions on how to install the latest version for Windows 11 here.
If you can’t install PowerShell but have Git installed, you can use the Git Bash terminal that comes with it. Like PowerShell, Git Bash will allow you to use Unix commands on Windows.
Opening a terminal in Windows is as simple as going to the Start Menu → All Apps (Program Files) → clicking the terminal application in your program list.
MacOS comes installed with a terminal program aptly named Terminal, which is okay to get started with.
There are two ways to open Terminal on MacOS. Choose one of the following:
All Linux distros come with a default terminal installed, which is okay to get started with.
In some distros like Ubuntu, there are two methods to open a terminal. Choose one of the following:
Ctrl+Alt+T
.Other distros may have other shortcuts or methods for accessing a terminal program.