Terminal Setup

Your terminal is the gateway to powerful AI tools. Here's how to get started on each platform.

macOS

Your Mac already has a terminal! Open Terminal.app from Applications → Utilities, or press Cmd + Space and type "Terminal".

# Check your terminal is working
$ echo "Hello, AI world!"

Windows

Install Windows Terminal from the Microsoft Store, or use PowerShell (pre-installed). For a Unix-like experience, install WSL2.

# Install WSL2 (run in PowerShell as Administrator)
> wsl --install

Essential Terminal Commands

$ pwd # Where am I?
$ ls # What's in this folder?
$ cd Desktop # Go to Desktop folder
$ cd .. # Go up one folder
$ mkdir my-project # Make a new folder
$ clear # Clear the screen
🔧 Essential Software to Install
🌏 AI Service Comparison
Service Best For Free Tier Paid
ChatGPT General chat, writing ✓ Limited $20 USD/mo
Claude Coding, analysis, long docs ✓ Limited $20 USD/mo
Gemini Multimodal, Google integration ✓ Generous $20 USD/mo
DeepSeek Coding, reasoning (cheap!) ✓ Generous Pay-as-you-go
Qwen Coding, multilingual ✓ Generous Pay-as-you-go
OpenRouter One API, many models ✓ Some free Pay-as-you-go
Codex (OpenAI) Code generation, agentic ✓ With ChatGPT $200 USD/mo

Getting API Keys

🧬 Antigravity

Antigravity is Google's agentic AI IDE, built on VS Code. It runs AI agents directly in your editor with full file system access.

# Download from the official site
# antigravity.google

# Or install the VS Code extension
# Search "Gemini Code Assist" in the VS Code marketplace

Key Features

🖥️ Cursor

Cursor is an AI-native code editor (fork of VS Code) with integrated AI chat, inline editing, and agentic capabilities.

Getting Started

# After installing Cursor:
# 1. Open any folder
# 2. Press Cmd+K (Mac) or Ctrl+K (Win) to ask AI to edit code
# 3. Press Cmd+L to open the AI chat panel
# 4. Use Composer (Cmd+I) for multi-file AI edits
🔵 VS Code + Extensions

Already use VS Code? Add AI superpowers with extensions.

Recommended Extensions

💬 Prompting Patterns That Work

The Basics

Power Prompts

# Let AI plan first
"Before writing any code, break this task into steps
and tell me your plan."

# Fix errors in context
"I got this error: [paste error]. The code that
caused it is: [paste code]. Fix it."

# Generate with constraints
"Build a contact form using vanilla HTML/CSS/JS
(no frameworks). Make it accessible and mobile-first."
⌨️ Terminal Quick Reference
# Navigation
$ pwd # Print working directory
$ ls -la # List all files (detailed)
$ cd ~/Documents # Go to Documents
$ cd - # Go back to previous dir

# File operations
$ mkdir my-project # Create a folder
$ touch index.html # Create a file
$ cat file.txt # View file contents
$ cp old.txt new.txt # Copy a file

# Package managers
$ npm init -y # Create a Node.js project
$ npm install # Install dependencies
$ npx serve . # Serve current folder as website

# AI from terminal
$ claude # Start Claude Code (if installed)
$ gemini # Start Gemini CLI (if installed)
📖 Official Documentation & Learning