Practical uses
- Automate development and server operations
- Compose Unix tools into data pipelines
- Write CI and deployment scripts
- Manage files, processes, and environments
The standard shell on Linux and macOS, used for commands and scripts.
Bash (Bourne Again Shell) is the command interpreter on most Linux systems and macOS. You use it to run commands, automate repetitive tasks and tie other programs together in scripts.
Bash is already installed on Linux and macOS. On Windows, use WSL2 for a full Linux environment or Git Bash for a lighter option.
# Option 1: WSL2 (recommended — real Linux environment)
wsl --install # install WSL2 + Ubuntu
wsl # start a Linux shell
# Option 2: Git Bash (lightweight, comes with Git)
# Download Git from git-scm.com — includes Git Bash
# Check which shell:
echo $BASH_VERSION
# Windows Terminal is a great terminal emulator:
winget install Microsoft.WindowsTerminalLearn the basics first, then pick up these tools when a project needs them.