Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesClaude Code & Agentic DevelopmentInstallation and First Session
Claude Code terminal: the claude -p command with Read and Edit allowedRetries after a 429 error: each pause is twice as long, then successText cut into overlapping chunks, the top three lifted into results
Get started free
Course

Claude Code & Agentic Development

Module 1 · Getting Started
01Installation and First Session02How Claude Code Reads a Codebase03An Effective CLAUDE.md
Module 2 · Daily Workflows
04Slash Commands and Custom Commands05Breaking Features into Tasks06Claude Code and git07Agentic Debugging
Module 3 · Power Features
08MCP Servers in Claude Code09IDE Integration10Advanced Patterns
Claude Code & Agentic Development · Lesson 1

Claude Code: Installation and First Session

Install Claude Code with the native installer, log in with a paid plan or a Console account, start a first session, learn the six permission modes (including auto, now the default) and see how it compares with Copilot and Cursor.

25 min readUpdated Nov 9, 20264 questions in quizReady prompt included

How do you install Claude Code and start a session?

Run the native installer (curl -fsSL https://claude.ai/install.sh | bash on macOS, Linux and WSL; irm https://claude.ai/install.ps1 | iex in Windows PowerShell), open a new terminal and check claude --version. Then cd into your project and run claude: the first run opens a browser login.

Start free: 7 days of full access →
Lesson 1 of 10free after sign-up

Claude Code & Agentic Development

10 lessons for developers: how the agent reads a codebase, CLAUDE.md, slash commands, task breakdown, git, debugging, MCP servers, IDE integration and CI.

Course program →

The rest of this lesson opens after a free sign-up

Sign up with email or Google: the first two lessons of every course stay open for good, and the whole catalog is open for 7 days. No card needed.

Sign up freeOr a trial lesson, no sign-up →

Permission modes: current names

The six modes from the lesson, as named in the Claude Code docs. Pass one with --permission-mode or press Shift+Tab in a session.

ModeWhat runs without askingWhen to use
default (Manual)Reads only; Claude asks before edits, shell commands and network accessUnfamiliar projects, first sessions
acceptEditsReads, file edits and common file commands (mkdir, mv, cp, rm…) inside the working directoryYou trust the task and review the diff afterwards
planReads and research; edits wait until you approve a planBig changes, a first look at a new repo
autoEverything, with a separate classifier reviewing actions firstLong tasks with fewer prompts; the starting mode for interactive sessions since v2.1.283
dontAskAnything that would prompt is denied; reads and pre-approved tools runLocked-down CI and scripts
bypassPermissionsEverything, no promptsIsolated containers and VMs only
Source: Claude Code docs, Permission modes, checked 9 Nov 2026. From auto, the first Shift+Tab goes to default, then the cycle runs default → acceptEdits → plan, with optional modes after plan; dontAsk never appears in the cycle and is set with --permission-mode dontAsk.

First session in five steps

In this lesson
What you needWhere you can use itInstallationLogging inFirst sessionPermission modesHow it compares with Copilot and CursorPracticeReady promptQuiz
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
  1. InstallNative installer, Homebrew, WinGet or npm
    →
  2. Verifyclaude --version, claude doctor
    →
  3. Open the projectcd my-project && claude
    →
  4. Log inBrowser prompt on first run; /login to switch
    →
  5. Start in plan modeAsk it to explain the repo and propose 3 safe tasks
    →
Run claude from the project root: the agent works inside the directory you start it in.

Key facts from the Claude Code docs

Checked on 9 Nov 2026 against the Claude Code docs (setup and permission modes).

  • Install: the docs recommend the native installer, which updates itself in the background. npm install -g @anthropic-ai/claude-code still works with Node.js 22 or later (never with sudo). Homebrew (brew install --cask claude-code) and WinGet (winget install Anthropic.ClaudeCode) need manual upgrades.
  • Login: run claude and follow the browser prompt, or log in ahead of time with claude auth login; /login switches accounts. If ANTHROPIC_API_KEY is set and you approve it, Claude Code skips the prompt and bills your API balance.
  • Mode names: file edits without prompts are claude --permission-mode acceptEdits. Valid values are default (alias manual), acceptEdits, plan, auto, dontAsk and bypassPermissions; since v2.1.283 a new interactive session starts in auto.
  • Requirements: macOS 13+, Windows 10 1809+ or Server 2019+, Ubuntu 20.04+, Debian 10+, Alpine 3.19+, 4 GB RAM, internet access.
  • Access: a Pro, Max, Ultra, Team, Enterprise or Console account, or Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry. The free claude.ai plan does not include Claude Code.

Sources we checked

  • Claude Code docs: Advanced setup (install, requirements, login)
  • Claude Code docs: Quickstart
  • Claude Code docs: Permission modes

FAQ

How do I start a Claude Code session in the terminal?+

Open a terminal, cd into the project folder and run claude. Describe the task in plain language, for example “Read src/server.ts and add error handling to the /api/users route”. For a one-off task without a session, use claude -p "your prompt".

Is Claude Code free?+

Claude Code needs a paid Claude plan (Pro, Max, Ultra, Team or Enterprise), a Console account with API billing, or a cloud provider such as Amazon Bedrock. The free claude.ai plan does not include it. This lesson itself is free to read.

Should I install with npm or the native installer?+

The native installer is the recommended route and updates in the background. npm installs the same native binary, needs Node.js 22+ and should run without sudo; upgrade it with npm install -g @anthropic-ai/claude-code@latest.

Which permission mode should I start with?+

Plan mode on an unfamiliar repository: Claude reads and proposes, edits wait for your approval. Move to acceptEdits once you trust the task, and keep bypassPermissions for isolated containers only.

What if the terminal says “claude: command not found”?+

Open a new terminal window first and run claude --version. The native installer puts the claude launcher in ~/.local/bin; if the command is still not found, that folder is not on your PATH yet, and the “Fix your PATH” section of the docs shows how to add it. claude doctor then prints install and settings diagnostics.

How is Claude Code different from GitHub Copilot or Cursor?+

Claude Code works as an agent from your terminal (also in VS Code, JetBrains and a desktop app): it reads many files, runs commands and tests, and edits code after your approval. Copilot and Cursor started inside the editor and also offer agent modes now; the choice comes down to where you work and which models you pay for.

Is this lesson free?+

Yes. It is lesson 1 of 10 in “Claude Code & Agentic Development”, and a free account keeps the first two lessons of every Academl course open for good. A free account opens all lessons for 7 days with no card; after that Pro costs $9 a month or $79 a year.

Related lessons and courses

Next: how Claude Code reads a codebase →Writing an effective CLAUDE.md →Claude Code course →Terminal agents for beginners →AI coding tools →pip install anthropic: first API request →Never used a terminal? Beginner guide to the first session →

Next: make the agent understand your project

Lesson 2 shows how Claude Code reads a codebase, lesson 3 how to write CLAUDE.md, and the rest cover commands, git, debugging, MCP and CI. A free account opens all 10 lessons for 7 days.

Create a free account →

What you need

Claude Code is included in the paid Claude plans: Pro, Max, Ultra, Team and Enterprise. A Claude Console account with API billing also works. The Free plan does not include Claude Code. Companies can also run it through Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry.

System requirements: macOS 13+, Windows 10 1809+, Ubuntu 20.04+, Debian 10+ or Alpine 3.19+, at least 4 GB of RAM, and an internet connection.