Loading

Installing Claude Code

Lesson 36 min
Loading

Installing Claude Code

SummaryTranscript

Claude Code is simple to install whether you want to use it in your terminal, on the web, or in your IDE.

You need a Pro, Max, Ultra, Team, or Enterprise plan, a Claude Console account, or access through a supported cloud provider such as Amazon Bedrock. The free plan doesn't include Claude Code.

Terminal

On macOS, Linux, or WSL, run this in your terminal:

curl -fsSL https://claude.ai/install.sh | bash

If you prefer Homebrew, run brew install --cask claude-code, but note that this method doesn't auto-update by default.

On Windows, run this in PowerShell, where your prompt starts with PS:

irm https://claude.ai/install.ps1 | iex

In CMD, run this instead:

curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

You can also run winget install Anthropic.ClaudeCode, though like Homebrew, it won't auto-update by default.

Terminal showing Claude Code successfully installed via curl

After installation, you should be able to run the claude command. If not, open a new terminal window, and if that doesn't help, look up the error in Troubleshoot installation and login. Navigate to your project directory and run:

claude

You'll go through some initial setup steps like choosing your color theme and signing in with your Claude account (Pro, Max, Ultra, Team, or Enterprise) or using an API key. If your organization has a Claude Enterprise account, be sure to select that option.

Claude Code login method selection: subscription, API, or third-party platform

Whatever directory you run claude in, it will have access to that directory and all of its subfolders.

Visual Studio Code

Open your Extensions panel and search for "Claude Code." Look for the extension by Anthropic with the blue verification check. Hit install.

After installation, you may need to restart VS Code. Once it's running, open the command palette with Ctrl/Cmd + Shift + P and search for "Claude Code Open in New Tab." You can also click the Claude logo if it's visible in your sidebar.

Claude Code extension page in VS Code marketplace

The VS Code extension provides a very similar experience to the terminal. You can also opt out of the UI and use the terminal experience directly in your settings.

JetBrains

The plugin runs the claude command, so install Claude Code in your terminal first. Then install the Claude Code plugin from the JetBrains Marketplace and restart your IDE. When you reopen it, you'll see the Claude logo. Clicking it opens a pane with the terminal experience that works alongside your editor.

Claude Code plugin in the JetBrains Marketplace

Desktop

If your organization manages your computer, the Claude desktop app may already be installed. If it isn't, ask your IT team how to get it. On your own computer, download the desktop app for macOS, Windows, or Linux (beta). The desktop app includes Claude Code, so you don't need the terminal install above to use it. The Code tab needs a paid plan: Pro, Max, Ultra, Team, or Enterprise.

After installing and signing into Claude Desktop, open the "Code" tab at the top of the sidebar. The look and feel is similar to the chat side of things, but it lets you work in a specific folder, change permissions, and even work in a cloud environment.

Claude Desktop Code view showing recent project folders

Web

On the web, access Claude Code by going to claude.ai/code, or by clicking the "Code" label in the sidebar of the chat app. This works similarly to the desktop app, but you're restricted to GitHub repositories.

Claude Code on the web at claude.ai/code with repository selection

Which One Should I Use?

If you want to stay on the cutting edge, the terminal is your best bet — features ship there first. The IDE integrations offer a nearly identical experience if you prefer Claude Code to feel more intertwined with your code editor.

Desktop is great for letting Claude run in the background while you handle other tasks.

Claude Code on the web is a solid option if you want to remotely work on projects through a GitHub repository.

However you want to use Claude Code is up to you.