Claude Code on the Mac

Written & tested for accuracy by a developer (not AI) · Updated June 2026

Claude Code Desktop App

Claude Code desktop app. Compare Claude Code in the desktop app with Claude Code CLI in the terminal. A free app to set up both.

Claude Code runs in the Claude desktop app as well as in a Mac's terminal application. In the app, it sits behind the </> icon at the top of the sidebar, which this article calls the Code tab. Claude Code isn't part of Claude's free plan. It needs a paid plan, with Pro at $20 a month as a minimum.

Most people think of Claude Code as a tool for programmers, and of the Claude desktop app as a place to chat. However, Claude Code isn't only for programmers. In Anthropic's own study, about one Claude Code session in eight produced documents or data analysis instead of code. Whether for knowledge work or programming, the Code tab in the Claude desktop app is Claude's most powerful interface. For guidance on using the desktop app for non-developer work, see Claude Desktop App for Mac.

Claude Code is an AI agent that reads your project's files, edits them, and runs commands, in a window that organizes your sessions in a list and shows each change before you accept it. Experienced developers use the Code tab and a terminal application side by side. Increasingly, the Claude Code desktop app has begun to replace code editors and IDEs (integrated development environments) such as VS Code with an agentic GUI that drives programming.

To compare the desktop app with Claude Code in the terminal, see Claude Desktop and Claude Code. To choose an assistant, see Best AI Assistants and ChatGPT Alternatives. To choose a model, see Best AI Models.

Before you get started

Use my free app to set up the Claude desktop app and Claude Code together. It is a FREE Mac app that installs the Claude desktop app and optionally Claude Code for the terminal, then adds the important extras you might overlook, including starter projects, skills, and connectors. Here are all the details about the app before you download. Then:

What the Code tab is

The Code tab is Claude Code with a graphical interface, inside Anthropic's Claude desktop app. It has no label. It is the </> icon at the top of the app's sidebar, next to the chat icon. Click </> to switch from chat to Claude Code, and click the chat icon to switch back. The app includes its own copy of Claude Code, so you don't need to install the claude command-line tool or Node.js to use the Code tab. The rest of the app is Claude's chatbot, for conversation and for bigger tasks such as reports, slides, and spreadsheets. The article Claude Desktop and Claude Code compares the desktop app and Claude Code in the terminal.

The Code tab needs a paid Claude plan: Pro, Max, Ultra, Team, or Enterprise. On the free plan, clicking the </> icon asks you to upgrade. Sign in with the same plan you would use for Claude Code in the terminal, because both share your plan's usage limits. The article Claude Code Pricing compares the plans.

First steps to install the Claude desktop app

First, check the macOS version. If you're running an older version, update macOS to the latest macOS version. The Claude desktop app needs macOS 13 or later. One download runs on Macs with Apple silicon and on Intel Macs.

I recommend installing it with my free app, so you get both the Claude desktop app and Claude Code together, plus important extras including starter projects, skills, and connectors.

If you prefer to install the app without extras, use Homebrew:

$ brew install --cask claude

Homebrew downloads the app and puts Claude in your Applications folder. If you don't use Homebrew, download the app from claude.com/download, open the downloaded file, and install Claude in your Applications folder.

Claude Code uses your project's files, so set up the tools a coding project needs before you start. The article What's Needed to Run Claude Code lists everything.

Start Claude Code in the Code tab

Open Claude from your Applications folder and sign in with your Claude account. Then start a session:

  1. Click the </> icon at the top of the sidebar, next to the chat icon.
  2. Below the prompt box, click the environment menu and choose the first entry under Local. A local session works on the files on your Mac. A Cloud session runs on Anthropic's computers. An SSH session connects to another computer.
  3. Click the project folder button, choose Open folder…, and select your project's folder.
  4. Choose a model from the model menu. The default is Opus. The lower-cost Sonnet model uses less of your plan.
  5. Choose a permission mode. I recommend Manual to start, so Claude Code asks your permission before it changes files or runs commands. The other modes are Accept edits, Plan, and Auto.
  6. Type a task in the prompt box and press Return. Anthropic suggests "Find a TODO comment and fix it" as an example.

Claude Code works through the task in steps, showing each file it reads and each command it wants to run. Approve or decline each request. When it finishes, review the changes before you commit to Git.

What the Code tab does well

The Code tab adds things a terminal window can't show. Anthropic recommends it when you want to run several sessions in one window, arrange them side by side, or review changes visually. Here is what it offers:

  • Several sessions at once - Click + New (or press Command + N) to start another session. Show two sessions side by side in split view.
  • Changes you can read before you accept them - Click the count of changed lines (such as +12 -1) to see each change, and comment on a line to ask for a fix.
  • A separate copy of the project for each session - Turn on Worktree and the session works in its own Git worktree (a second copy of your project's files, managed by Git), so two sessions don't overwrite each other's changes.
  • A preview of your app - The Browser pane shows a web app as Claude Code builds it.
  • Pull requests watched for you - For a project on GitHub, the Code tab watches a pull request's checks, fixes failures, and can merge it when it is ready. This needs GitHub's command-line tool, gh, installed and signed in.
  • Sessions that keep running - A Cloud session continues after you close the app.
  • A terminal and a file editor - Inside the window, for a quick command or a small edit.

Limits of the Code tab

The Code tab lacks a few things the terminal offers. Here are the limits that matter most, from Anthropic's documentation:

  • Its own version of Claude Code - The Code tab runs its own copy, which can be a different version from the claude command in your terminal. Updating one doesn't update the other. Type /status in a session to see the Code tab's version.
  • No scripts or automation - The Code tab is interactive only. To run Claude Code from a script, a scheduled job, or a continuous integration (CI) server, use the command-line tool.
  • A few features only in the terminal - Agent teams (several AI agents working together on one task) run only in the terminal. Some slash commands work differently, such as /config, which opens the app's settings.
  • Cloud providers need extra setup - Using Claude through Amazon Bedrock, Google Cloud, or Microsoft Foundry needs a separate setup of the desktop app, described in Anthropic's documentation.

When to use the terminal as well

Most software developers install both the Claude desktop app and the Claude Code command-line tool and switch between them depending on the task. Claude Code also runs inside code editors such as Zed and Cursor. The two share your project's CLAUDE.md file, your settings, hooks, skills, and MCP servers, so a skill or MCP server you add in one works in the other. They can run at the same time on the same project.

Use the terminal when you've started work there, when you want to run Claude Code from a script, or when you need a feature the Code tab lacks. A terminal session can move into the app, too. Type /desktop in Claude Code in the terminal to open the session in the Code tab, where you can review its changes.

If you want both, my free app "Set Up Your Mac for Claude Code" installs the Claude Code command-line tool and the Claude desktop app in one pass, adds the important extras (starter projects, skills, and connectors), then checks that claude runs. To install the command-line tool yourself, see Install Claude Code on Mac.

Continue setting up your Mac

Visit the Mac Install Guide home page for step-by-step guides for every Mac user, from upgrading macOS to working with AI and writing code.