Keep this open during Zero-to-AI sessions. You are not expected to memorize these commands.
This cheat sheet supports the Command Line Foundations session.
- Windows
- Git Bash → Git commands, Unix-style navigation
- PowerShell → Windows setup scripts (
.ps1)
- macOS
- Terminal → Use this for all Zero-to-AI tasks
macOS Terminal behaves like Git Bash. You do not need PowerShell on Mac.
pwdGit Bash / macOS Terminal
lsPowerShell
dircd folder-nameGo up one level:
cd ..If you feel lost, do this:
pwd
ls / dir
cd ..
pwd
Inspect first. Don’t guess.
git --versionIf you see a version number, Git is installed.
| File | Run it in |
|---|---|
.ps1 |
PowerShell (Windows only) |
.sh |
Git Bash (Windows) or Terminal (macOS) |
Only do this if instructed:
git pullIf it fails, stop and ask for help.
If you can run
pwd,ls/dir, andcd, you’re ready for Zero-to-AI.