Skip to main content
Claude runs code in Anthropic’s cloud by default. You can also use your own computer, or a Linux server, lab machine, or cluster (Pro, Max, Ultra, Team, and some Enterprise organizations).

On your own computer

In the Claude desktop app, go to Settings > Capabilities and turn on Let Claude Science run code on this computer. It needs an Apple silicon Mac or a 64-bit, non-Arm Windows PC. There, Claude can use only the files you attach to the chat, and can’t use your computer’s GPU. Team and Enterprise plans need version 18.35363.2 or later of the app. Team organizations allow running code on your computer by default. On Enterprise, an Owner turns on Local code execution for Claude Science sessions in Organization settings > Claude Science. If your organization uses custom roles, an Owner also turns on Local code execution under Claude Science in Claude for the roles that need it.

On a server, lab machine, or cluster

  1. Send a message in a chat, then select the computer icon at the top (Compute), then Add compute. Copy the command there and run it in a terminal on the computer you’re connecting (on a cluster, the login node).
  2. Sign in with the same Claude account, and say yes when it asks to keep running. After the computer restarts, run the command again.
  3. Back in the Add compute window, pick the computer in the list and select Connect. When Claude asks in the chat, select Allow.
  4. Tell Claude which computer to use, such as “Run this on lab-01.”
Good to know
  • Files don’t automatically move between Anthropic’s cloud and computers you connect (servers, lab machines, and clusters). To use a file on a connected computer, copy the file into that computer’s ~/claude-science folder.

Team plans

An Owner turns on Code execution on remote machines in Organization settings > Claude Science.

Enterprise plans

Connecting a server, lab machine, or cluster isn’t available to every Enterprise organization yet. An Owner turns on Code execution on remote machines in Organization settings > Claude Science. If your organization uses custom roles, an Owner also turns on Claude Code, Claude Code cloud sessions, and Claude Code remote control for the roles that need it.