Skip to content

Claude Code on Chromebook: Linux Setup

Claude Code runs on a Chromebook inside ChromeOS's Linux development environment: turn it on, run Anthropic's native installer, and sign in with a Claude Pro, Max or Ultra plan. If Linux is off limits, claude.ai/code runs Claude Code sessions in the cloud from Chrome.

Updated 3 min read Cosyra team

Install Claude Code on a Chromebook

Steps and commands from Anthropic's and Google's docs, current as of 2026-11-07.

Step 1

Turn on Linux

Select the time at the bottom right, then Settings > About ChromeOS > Developers. Next to Linux development environment, select Set up.

Setup can take 10 minutes or more and gives you a Debian environment. Work and school Chromebooks might not be able to use Linux.

Step 2

Install Claude Code

In the Linux terminal, run the native installer:

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

It shows no progress while it downloads. Open a new terminal and run claude --version; it prints a version number. No Node.js is needed, and native installs update themselves.

Prefer apt? Anthropic's signed repo serves the stable channel, about a week behind. Check that gpg shows fingerprint 31DDDE24DDFAB679F42D7BD2BAA929FF1A7ECACE:

sudo apt install curl gnupg   # only if missing
sudo install -d -m 0755 /etc/apt/keyrings
sudo curl -fsSL https://downloads.claude.ai/keys/claude-code.asc \
  -o /etc/apt/keyrings/claude-code.asc
gpg --show-keys /etc/apt/keyrings/claude-code.asc
echo "deb [signed-by=/etc/apt/keyrings/claude-code.asc] https://downloads.claude.ai/claude-code/apt/stable stable main" \
  | sudo tee /etc/apt/sources.list.d/claude-code.list
sudo apt update
sudo apt install claude-code

Step 3

Sign in

claude

It opens a browser to log in. If it doesn't, press c to copy the login URL. If the browser shows a code, paste it at Paste code here if prompted. Claude Pro, Max and Ultra include Claude Code. An ANTHROPIC_API_KEY from platform.claude.com also works.

Claude Code on your phone

Cosyra runs Claude Code from an iPhone, iPad or Android phone in a cloud Linux workspace. It is pre-installed and signs in with your Claude Pro or Max plan.

Claude Code running in a Cosyra terminal on iPhone, writing tests for a tip calculator
Claude Code in a full terminal
Cosyra Connect Claude subscription sheet on iPhone: use your Claude Pro or Max account in Code and Terminal
Sign in with your Claude plan

Ways to run Claude Code

Feature ChromeOS Linux claude.ai/code Cosyra on a phone
Runs on Your Chromebook Anthropic's cloud Cloud workspace
Install Linux, then installer None Pre-installed
Claude plan sign-in Yes Pro, Max, Ultra Yes Pro, Max, Ultra, Team Yes Pro or Max
API key Yes No Plan required Yes
Works without GitHub Yes No Needs GitHub Yes
Works from a phone Partly Remote Control Yes Claude app Code tab Yes iOS and Android app
Price Pro from $20/month, or API Pro from $20/month From $20/month + Claude plan or API
Checked against code.claude.com, claude.com/pricing and Google's Chromebook help on 2026-11-07.

More: Coding on a Chromebook · Gemini CLI on Chromebook · Claude Code on Android · Claude Code on a phone

Frequently asked questions

Do I need Node.js to run Claude Code on a Chromebook?

No. The native installer and the apt package need no Node.js. The npm package, npm install -g @anthropic-ai/claude-code, needs Node.js 22 or later.

What Chromebook do I need?

Anthropic lists 4 GB of RAM or more, an x64 or ARM64 processor and an internet connection. The Chromebook also has to allow the Linux development environment, which work and school devices might not.

How do I update Claude Code?

Native installs update themselves in the background. The apt package updates with your normal sudo apt upgrade. An npm install updates with npm install -g @anthropic-ai/claude-code@latest.

Run Claude Code from your phone. Install Cosyra, open a terminal and type claude.

See pricing