Claude Code (Part 1)
Neil Haddley • January 20, 2026
Getting started with Claude Code — Anthropic's agentic CLI that reads your project files, writes and edits code, and runs commands from a single prompt
Claude Code is an AI coding assistant from Anthropic that runs directly in your terminal. Unlike chat-based tools, it can read your project files, write and edit code, run commands, and work through multi-step tasks — all from a single prompt.
Getting started takes three steps: install, authenticate, and start prompting.
Install
I ran the install script in my terminal (macOS/Linux/WSL):
BASH
1curl -fsSL https://claude.ai/install.sh | bash
On Windows (PowerShell):
POWERSHELL
1irm https://claude.ai/install.ps1 | iex
I then added Claude Code to my PATH so the terminal could find the binary:
BASH
1echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
Authenticate
I typed claude to launch Claude Code for the first time:
I picked a colour theme:
I then linked Claude Code to my Anthropic account. A Claude Pro subscription (or higher) is required:
Claude Code opened a browser tab to complete the OAuth flow:
Back in the terminal, I accepted the remaining setup prompts:
First prompt
With setup complete, I was dropped into the interactive Claude Code prompt:
I asked it to create a simple PowerShell script:
PROMPT
1create a new PowerShell script file named "HelloWorld.ps1". The script should simply output the string "Hello, World!" to the console. Show me the code and explain how to run it.
Claude Code asks for permission before writing any files. I approved edits for the whole session:
I then asked Claude Code to run the script:
It also asks before executing shell commands:
I also ran the script directly to confirm it worked independently:
VS Code Extension
I also installed the Claude Code VS Code Extension, which integrates directly into the editor. It automatically loads the file I'm working on as context, so I can ask questions without switching to the terminal:





















