⚡ Meet PowerShell - Your Command Center

Session 3, Topic 1 | Text-Based Computer Control

⏱️ 30 minutes

Welcome to the Command Line

PowerShell is like texting instructions to your computer instead of clicking through menus. It's faster, more powerful, and essential for running Claude Code!

🎯 Learning Objectives

  • Understand what PowerShell is and why it's useful
  • Open PowerShell on your computer
  • Navigate folders using text commands
  • Run your first PowerShell commands
  • Create project folders from command line

🤔 What is PowerShell?

PowerShell is a command-line interface - a way to control your computer by typing text commands instead of clicking buttons.

Think of it like this:

Why Learn PowerShell?

🚀 Opening PowerShell

Windows: The Quick Way

  1. Press Windows + X
  2. Press A
  3. Click "Yes" if asked for administrator permission

✅ PowerShell opens with administrator rights (recommended)

Windows: The Search Way

  1. Click Start button
  2. Type "PowerShell"
  3. Right-click "Windows PowerShell"
  4. Select "Run as Administrator"
  5. Click "Yes" when prompted

Mac: Using Terminal

  1. Press Cmd + Space
  2. Type "Terminal"
  3. Press Enter

Note: Mac uses Terminal instead of PowerShell. Commands are similar!

📝 Your First Commands

Let's practice basic navigation. Type these commands one at a time (press Enter after each):

Check PowerShell Version

$PSVersionTable

Shows your PowerShell version. Any version 5.0+ is great!

See Current Location

pwd

"Print Working Directory" - shows where you are in your file system

List Files

ls

Lists all files and folders in your current location

Create a New Folder

mkdir CoordinatorProjects

Makes a new folder called "CoordinatorProjects"

Move Into That Folder

cd CoordinatorProjects

"Change Directory" - moves you into the folder you just created

Check Your Location Again

pwd

You should now see you're inside CoordinatorProjects

✅ Success! If you completed all these commands, you've mastered basic PowerShell navigation!

💡 Essential PowerShell Commands

  • pwd - Show current location
  • ls - List files/folders
  • cd [folder] - Move into a folder
  • cd .. - Go up one level
  • mkdir [name] - Create new folder
  • cls - Clear the screen
  • exit - Close PowerShell

🎯 Practice Exercise

Create this folder structure using PowerShell commands:

cd Desktop mkdir AIProjects cd AIProjects mkdir tools mkdir projects ls

You should see two folders: tools and projects

✅ Topic Completion Checklist

Next Topic: Install Node.js →