Direct answer
Linux ARM is not unsupported as a category. Official (F024): setup documentation lists supported Linux distributions with x64 or ARM64 processors and at least 4 GB RAM. On a headless host, troubleshoot in this order: verify the operating system and architecture, confirm which claude launcher is running, inspect the native binary’s format, then complete authentication through the flow offered by that installed build. If it offers a device code, enter it in a trusted browser instead of trying to force a desktop login. The frozen sources do not document exact device-code flags or a universal ARM binary defect. The win is a reproducible setup record. The loss is that a successful login still does not prove headless quota behavior or model quality.
ARM binaries
Start with the host, not the model. Run uname -s and uname -m on the Linux machine. Save the kernel and architecture exactly as reported. Then compare that result with the installation artifact you intended to use. An x64 launcher and an ARM64 host are different conditions, even when both can run a shell script.
Official (F024): supported setup includes x64 or ARM64 processors, specified minimum operating-system versions and at least 4 GB RAM. This is a platform floor, not a performance promise. A host can meet the listed requirements and still have a local dependency, filesystem or service configuration that prevents the launcher from working.
Use command -v claude to find the first launcher on the current path. If more than one installation exists, type -a claude can expose the alternatives. Resolve the selected path with readlink -f where available, then inspect the resulting file with file. A wrapper script and a native executable are different artifacts. Capture both when a package manager or version manager supplies one through the other.
A format error is evidence about that artifact. It does not prove that ARM is unsupported everywhere. Reinstall through the documented setup path for the intended architecture, then repeat the same checks. Avoid copying a binary from an unrelated machine as a permanent fix. That can hide a mismatched dependency and make the next update harder to reason about.
The PowerShell path quoting guide is not a Linux fix, but it demonstrates a useful principle: the shell and launcher are part of the command. The network storm and NAT retry diagnosis applies the same order of operations, establish the local runtime before changing network equipment.
A native executable can also depend on a loader or shared library that is absent from the host. Read the local error before replacing the whole installation. A missing loader is a different repair from an architecture mismatch, and a denied file is different from both. Use the distribution’s approved package tools to inspect dependencies rather than downloading an unverified library from an unrelated source.
Make installation artifacts traceable. Log the source, version and architecture of the package you intended to install. If a version manager or wrapper changes the selected executable, capture that layer too. The goal is to explain which file ran, not merely to produce a working command once. A later update should be able to reproduce the same path.
Official (F011): package installation can execute lifecycle scripts. That applies to the tools you add while troubleshooting as well as the original client. Review the manifest and lockfile before running an installer in a privileged context. A local fix that silently broadens process access is not a clean fix.
Platform checks
| Check | Command or artifact | What a clean result tells you | What it does not tell you |
|---|---|---|---|
| Kernel | uname -s |
The host identifies as Linux | That every distribution package will work |
| Architecture | uname -m |
The reported processor architecture | That the selected binary matches it |
| Launcher | command -v claude |
The first executable found on this path | That a service or another shell uses the same one |
| Multiple installs | type -a claude |
Which alternatives the shell can see | Which one a scheduler will invoke |
| Resolved artifact | readlink -f plus file |
Whether the path resolves and what kind of file it is | That all runtime dependencies are present |
| Installed version | claude --version |
The selected installation can start far enough to report a version | That authentication or network access works |
Headless login
A headless server has no convenient desktop browser. That changes the authentication surface, not the legitimacy of the host. Follow the authentication flow presented by the installed build. If it offers a device-code flow, use a browser on a trusted device to complete the verification and return to the terminal as instructed. Do not bypass device verification or copy someone else’s session to avoid the prompt.
Unknown: the frozen sources do not specify the exact flag, URL or availability of device-code login for every Linux distribution. Treat the installed build’s help and official setup documentation as the source for the current flow. The official setup and platform guide is the external reference to check before recording a command as supported.
Limit the login evidence to a small record. Log the flow used, the account role, the host and whether the terminal reached an authenticated state. Do not save the device code, session cookie or credential value in the incident ticket. The secrets in logs and transcripts guide explains why terminal output and copied transcripts can preserve more than expected.
A failed browser launch is not necessarily an ARM failure. It may be a missing desktop session, a display variable problem, a remote-shell environment or a launcher that cannot open the browser. Switch to the offered non-desktop flow before reinstalling the model client. If no supported flow is available, stop and consult the setup documentation rather than inventing one.
Authentication and usage accounting are separate. Community (F025): issue #97074 reports that headless claude -p consumed more of the five-hour window than interactive use for the same tokens. It is an open user report without a confirmed cause or official fix. Do not use it to claim that all headless sessions drain quota, and do not confuse it with a login failure.
The five-hour and weekly limit mechanics provide the broader quota context. When you automate headless work, record request volume and accepted output so a future usage report can be compared with the same workload.
Auth flows
| Flow | Appropriate environment | Verification rule | Main limitation |
|---|---|---|---|
| Browser on the same host | Desktop Linux session with a usable browser | Complete the provider’s normal sign-in flow | Not available on a truly headless host |
| Device code from the installed build | Headless host when the build offers it | Enter the displayed code in a trusted browser | Exact availability and flags are Unknown here |
| Remote browser session | Managed remote desktop or approved forwarding setup | Follow the official flow without weakening verification | Adds another host and access surface |
| Copied credentials or session files | Not a recommended setup shortcut | Stop and use a supported authentication flow | Breaks the audit trail and may expose a session |
PATH and launchers
The interactive shell and a service often see different paths. A command that works after SSH login may fail under systemd, a container entrypoint or a cron-like scheduler. Find the executable in the environment that actually runs the job, not only in your terminal.
Run command -v claude inside the same service context. If the service definition uses a restricted path, invoke the documented absolute path or configure the service’s path explicitly. Do not add a broad writable directory to every process’s path. That creates a different security problem.
Use hash -r in a shell after replacing a launcher, then run command -v claude again. Shells can remember an earlier location. A stale hash can make a correct reinstall look as though nothing changed. For a long-running service, restart the service so it reads the new environment. Official (F028): network variables load once at startup, so a running process may retain an old proxy or certificate configuration even after the shell has changed.
Inspect permissions on the launcher and its parent directories. The executing user needs permission to traverse the path and run the file. A root-owned test that works under an administrator account does not prove the service account can run it. Prefer a dedicated unprivileged service identity when the job does not need administrative access.
The macOS Keychain permissions guide covers a related boundary on another platform: credential storage and process access are separate questions. On Linux, apply the same discipline to credential files. Do not print them, do not make them world-readable and do not copy them into a container image.
SSH and noninteractive shells can omit the startup files that configure an interactive terminal. Test the command with the same invocation style as the scheduler. If an interactive alias or function makes claude work, resolve the actual executable instead of relying on that alias in a service definition. Aliases are a convenience for people, not a stable deployment contract.
Working directories matter as well. A launcher may find project configuration relative to the current directory, while a service starts somewhere else. Set the working directory explicitly and verify that the intended project is selected. Do not solve a path problem by granting the service account access to the whole filesystem. Narrow the directory and credential scope, then repeat the harmless request.
Record the shell, user, resolved path and working directory in the setup evidence. Those fields explain many differences between a successful manual run and a failed automated run. They also make the handoff actionable for the next operator without requiring a full terminal recording.
Containers
A container adds another architecture and path boundary. Confirm that the image matches the host and that the selected entrypoint resolves to the intended launcher. If emulation is involved, record it. Do not assume that a working shell proves the native binary is running natively.
Start with a minimal container and a harmless local command. Inspect the architecture, installed artifact and resolved path before attaching real project files. Keep credentials out of image layers. Supply them through the platform’s approved secret mechanism with the narrowest practical access.
Official (F011): dependency installs can run lifecycle scripts and reach the network. A container build that installs extra tools is executable setup, not just file copying. Review the manifest, lockfile and install scripts. The dependency-install side-effects guide provides the pre-install sequence.
Network configuration needs the same clean-start discipline. Official (F028): proxy, CA and client certificate variables load once at startup, and SOCKS proxies are unsupported. The corporate proxy TLS and mTLS guide covers enterprise routing. Do not disable certificate checks to make a container reach the service.
Plugins and MCP servers can expand what the container process reads and sends. Official (F017, F019): tool output remains untrusted and plugins can load commands, hooks, servers and skills. The plugin security audit explains the version and permission review. A disposable container is useful containment, but it is not permission to connect production credentials.
The offline-mode boundaries are relevant when a build runs in an isolated environment. Local files and cached transcripts are not offline frontier inference. If the job requires cloud access, test the approved network path before treating the model as the failing component.
A worked setup test
Use a disposable host or container with no production credentials. The goal is to prove the launch path, not to run a real coding task.
Record uname -s, uname -m and the distribution identity from the approved system tooling. Resolve claude with command -v claude, inspect any wrapper and run claude --version. If the command fails, stop at the first failed layer. Do not continue into authentication with a launcher you have not identified.
Next, run claude --help and read the authentication options exposed by that installed build. Follow the supported flow. When a device code is offered, complete it in a trusted browser and record only that verification succeeded. Do not paste the code or session material into the test notes.
Finally, make one harmless request through the authenticated route. Record whether the request reached the service, whether the response arrived and whether any local hook or tool failed afterward. This separates launcher, authentication, network and execution problems. The proof-of-work packet provides a useful evidence format.
A pass means this host, architecture, launcher and account completed the tested flow. It does not establish that every ARM distribution works, that a service scheduler uses the same path or that quota consumption will match interactive use. Keep those claims open until you test them.
Practical response: a setup checklist
- Verify the distribution. Compare the host with the official supported-platform list before installing extras.
- Record the architecture. Save the exact
uname -mresult and the intended artifact architecture. - Choose one launcher. Resolve the path and identify wrapper scripts, native binaries and alternative installations.
- Inspect the artifact. Use local file metadata to confirm that its format matches the host.
- Clear stale shell state. Refresh the shell’s command lookup after replacing a launcher.
- Test the service context. Run the same path checks as the account and scheduler that will execute the job.
- Use supported authentication. Complete the browser or device flow offered by the installed build without bypassing verification.
- Check startup network settings. Restart after proxy, CA or certificate changes so the process reads the new environment.
- Review container and plugin access. Keep credentials out of images and inspect connected tools before attaching real projects.
- Run a harmless request. Separate launch, login, network and tool execution results in the record.
- Measure usage separately. Compare headless and interactive work with the same task before drawing a quota conclusion.
- Document the rollback. Keep the previous working launcher or image reference available without copying secrets into the rollback path.
Official (F020): transcript retention and telemetry controls exist, but they do not imply zero logging. Check the Claude Code privacy and retention rules before a headless job handles private material. The mobile Remote Control limits provide an approval surface for a running local process, not a replacement for a headless host’s setup.
When a setup task starts changing unrelated files, apply a change contract. Official (F008, F010): named files and success criteria are recommended, while the fact pack contains no measured scope-drift rate. The overengineering and diff scope guide helps keep a platform fix from becoming a repository rewrite.
If the job runs unattended, plan for service failure rather than assuming a clean terminal will notice it. The outage status and failover guide covers status signals and fallback planning. The session handoff and team context guide helps the next operator understand which setup checks already passed.
Setup checklist
| Layer | Required evidence | Stop when |
|---|---|---|
| Host | Distribution and architecture match the documented platform | The artifact architecture is unclear |
| Launcher | Resolved path and file type are recorded | Multiple unexplained installations remain |
| Authentication | Supported flow completed without copying session material | Device verification cannot be completed normally |
| Network | Startup environment and required hosts are reachable | The only proposed fix disables certificate checks |
| Container | Image architecture and secret handling are reviewed | Credentials would enter an image layer |
| Usage | Harmless request and observed usage are recorded | A quota conclusion relies only on a community report |
Keep the container test record independent from the project record. It should identify the base image, architecture, launcher path, service user and secret mechanism without including credential values. If the container is rebuilt, compare those fields again. A new base image can change the loader, path or default user even when the application command is unchanged.
For a fleet, pilot the verified setup on one disposable host before applying it broadly. Capture the package source and configuration as reviewable infrastructure, then require the same harmless setup test on each target architecture. A successful pilot on x64 does not prove an ARM image is correct, and an ARM success does not prove the scheduler environment matches.
Honest loss and data gaps
The largest gap is the exact authentication interface. The supplied sources establish platform support, not a complete device-code command reference for every Linux build. This article therefore does not invent flags or promise that every distribution presents the same flow. Check the installed help and official setup page, and record the version you actually used.
The second gap is native binary failures. The fact pack does not contain a confirmed ARM defect, a failure rate or a fix version. A local format error is real evidence about one artifact. It is not proof of a platform-wide problem.
The third gap is headless usage. Community (F025): issue #97074 reports higher five-hour-window consumption for the same tokens, but the cause and fix are unconfirmed. Compare your own bounded workload before changing plans or billing routes. The Max and Ultra tier value analysis explains why a larger usage multiple is not a measured outcome.
Finally, a working interactive login does not prove a scheduler will work. Service paths, users, environment variables and filesystem permissions can differ. Preserve that distinction in the setup record. The custom API base URL guide and the OpenAI versus Anthropic API format guide are useful when evaluating a different agent route, but neither removes platform checks.
Keep unresolved items visible in the handoff. If device verification worked but the service account has not been tested, mark that boundary open. If the binary runs but a shared library is supplied by an unreviewed package, record the dependency. A precise open question is more useful than declaring the entire host ready.
Practical alternative for OpenAI-format agents
One AI API Key can be compared on the same disposable Linux host when you want to test an OpenAI-format agent separately from Claude Code’s launcher and authentication flow. On 2026-11-27, the 46 live free model IDs were OpenAI-format only. The working route is an OpenAI-format agent such as OpenCode, Cline or Cursor using the documented base URL and one selected free ID. The quickstart covers setup.
Do not put those free IDs into Claude Code. First-party (F047, F048): Claude Code uses the Anthropic-format endpoint, and all four Claude IDs were marked unavailable on 2026-11-27. The coding-agent compatibility notes explain the boundary. A successful request through another agent does not prove Claude Code’s ARM launcher is healthy.
The free lane shares 100 requests and 5,000,000 tokens per day per account, resetting at 05:30 IST or 00:00 UTC. Accounts can have up to three keys, with one request in flight per key on free models. New accounts receive $10 credit without a card, and billing is prepaid with no subscription or seat fee. Review pricing, per-key controls and the privacy policy before sending project data. The console keys and usage guide helps separate credentials, and account creation is the final optional step.
FAQ
Is Claude Code supported on Linux ARM?
Official (F024): supported Linux configurations include ARM64 processors, alongside x64, on supported distributions with at least 4 GB RAM. Verify your exact distribution and artifact. The source does not say that every ARM device or package works without local setup.
How do I log in without a browser on the server?
Use the authentication flow offered by the installed build. If it provides a device code, complete verification in a trusted browser as instructed. Unknown: the frozen sources do not provide exact flags or guarantee the same flow on every distribution. Do not bypass verification.
Why does claude work after SSH but fail in a service?
The service may use a different user, path, environment or working directory. Resolve the launcher in that service context and restart after environment changes. Official (F028): network variables load once at startup, so an old process can retain stale configuration.
Does issue #97074 prove headless mode uses quota faster?
No. Community (F025): it is a user report about five-hour-window consumption for the same tokens, without a confirmed cause or official fix. Measure your own workload before treating it as universal.
Should I copy credentials into a container image to fix login?
No. Keep credentials out of image layers and use the platform’s approved secret mechanism with narrow access. A copied credential also makes rotation, review and incident handling harder. Use a supported authentication flow instead.