Mac OS

If you're using a Mac or Linux operating system (OS), the application you need is called "Terminal." You can easily find and launch it through your Launchpad or Spotlight Search.

data/admin/2024/8/terminal.png

Windows

If you type "Terminal" into File Explorer on a Windows system, you might see an application called Command Prompt. However, Command Prompt isn't compatible with most of the commands referenced in this track.

Instead, you'll be using an application called Git Bash as your terminal.

To install Git Bash, follow these steps:

  1. Download Git: Click this link to download Git for Windows. The download should start automatically.
  2. Install Git Bash: Open the downloaded .exe file to begin the installation process. Accept the default settings by clicking "Next" until you reach the final screen, then click "Install."
  3. Launch Git Bash: Once the installation is complete, check the box labeled "Launch Git Bash" and click "Finish."

Why I Reccomend Git Bash for Developers on Windows

Windows users often prefer Git Bash is because it offers a more Unix-like environment, which is pretty handy for developers.

It let's you interact with their computer's command line using the bash syntax, which is my suggestions for all your terminal needs moving forward.

One of the main advantages of Git Bash is that it allows developers who are familiar with Unix-based systems, like Linux or macOS, to use the same commands and workflows on Windows without needing to learn a different set of tools.

For example, instead of using the Windows Command Prompt or PowerShell, which have different syntax and limitations, developers can continue using familiar Unix commands.

This consistency is particularly important for developers working in cross-platform environments. Many development tools, scripts, and build processes are designed to work in Unix-like environments, and Git Bash helps bridge the gap on Windows.

It also makes collaborating with teams who use different operating systems easier since everyone can follow similar processes, regardless of the underlying system.

Place Your Terminal in Easy Reach

No matter which operating system you're using, you'll be working with your terminal regularly as a developer. To make accessing it easier, you should pin your terminal application (Terminal for Mac and Linux users, Git Bash for Windows users) to your dock or home screen so you can open it quickly whenever you need it.

Configure Your IDE Terminal

You can actually interact with your terminal directly through a Code Editor such as VS Code.

While it's not mandatory, many developers find it boosts productivity by reducing the need to switch between different applications.

To make the most of this feature, ensure your default terminal within the IDE is set to the one you prefer (e.g., Terminal for macOS and Linux users, Git Bash for Windows users).

Setting this up correctly allows you to run commands, manage version control, and interact with your development environment seamlessly, all from within your IDE.