About this video
Stop being afraid of the black box on your screen. The terminal is the most powerful tool you own, especially if you are diving into the world of local AI. This guide breaks down the absolute basics so you can navigate your files, manage projects, and fix sticky situations with confidence. Key Takeaways: - Master essential navigation shortcuts like Tab for autocomplete and Ctrl+C to kill processes. - Learn file management commands like mkdir, touch, and rm without needing the Finder. - Understand Git basics including cloning repos and managing branches with git switch. - Discover how to use Homebrew to install applications and manage packages. - Create custom aliases and functions to automate your repetitive tasks.
Terminal cheat sheet
One self-contained page with every command from this video. Tap any command to copy it. Save it to your desktop and open it whenever you get stuck — no internet connection needed.
- Moving around the line
- Getting places
- Making and moving things
- Installing things
- Git, day to day
- Making it yours
- Worth knowing
The Beginner Guide To The Terminal
Stop being afraid of the command line. Most people avoid the terminal because it looks like something from a hacker film from 1984, but it is actually the most efficient way to control your computer. If you are getting into local AI or software development, the terminal is your best friend.
Essential Navigation
Learning to move around is the first step. Use the Tab key for autocomplete to save your fingers from typing long file names. If you get stuck in a process that will not end, Ctrl+C is your emergency brake. You can also use Ctrl+R to search through your history so you never have to remember a complex command twice.
File Management Without The Finder
Stop dragging folders. Use mkdir to create directories and touch to create files instantly. If you need to see what is inside a folder, ls is your go to command. To see hidden files like your environment variables, use ls -a. These small habits will save you 100s of clicks every single day.
Git And Version Control
If you are not using Git, you are living dangerously. Use git clone to pull down the latest AI models and projects. Use git status to see what you have changed and git commit to save your progress. It is like having a save point in a video game for your code.
Customising Your Experience
You do not have to type long commands. You can create aliases in your .zshrc file to turn a 50 character command into a 2 letter shortcut. This is how the pros work 10 times faster than everyone else.
The terminal is a tool of empowerment. Once you master these basics, you will never look at your computer the same way again.
Transcript▾
This is a complete beginner guide to the terminal for those struggling with local AI. I use Warp, a free terminal app with AI agentic capabilities, which makes it 1 of the easiest ways to use the command line. You can also use iTerm 2. Navigation is simple: up and down arrows go through previous commands. Tab allows for autocomplete, which is a massive time saver.
Important shortcuts include Ctrl+C to kill a running process and Ctrl+R to search your history. If you need master access, use sudo !! to run the previous command as a superuser. Use pwd to see your present working directory and cd to change folders. You can drag folders from the Finder directly into the terminal to get the path.
The ls command lists files, while ls -a shows hidden ones. To create things, use mkdir for folders and touch for files. For version control, git clone is essential for pulling repos. If a port is stuck, use lsof -i :port to find the process ID and kill it. You can also create aliases in your .zshrc file to shorten long commands. The terminal is about confidence, not just memorising strings of text.