Run the Claude Science desktop app on a remote Linux server changedclaude-science/run-on-remote-linux-server
Nearest release: v2.1.335, published an hour after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 2 Dec 2026 20:07 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 2 Dec 2026 20:07 UTC.
Upstream edited
Recorded here
Lines+16added
Lines−25removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits17to this page, all time
# Run the Claude Science desktop app on a remote Linux server ## Check the claude-science command # Run on a remote Linux server ## Install Claude Science
The whole hunk
from line 1, old and new numbered
/
from line 1
1# Run on a remote Linux server
1# Run the Claude Science desktop app on a remote Linux server
22
3> Install Claude Science on a cloud VM or lab server and use it from your own browser through an SSH tunnel.
3> Use the Linux version of the Claude Science desktop app on a cloud VM or lab server, from your own browser through an SSH tunnel.
44
5Claude Science runs on a remote Linux server (a cloud VM or a lab machine) the same way it runs on a workstation: the application and your data stay on the server, and you use the web app from your computer's browser through an SSH tunnel. Setup takes about five minutes, plus a few minutes of environment setup on first launch.
6
7> [!NOTE]
5> [!WARNING]
86>
9> This page covers running all of Claude Science on a remote machine. To keep Claude Science on your own computer and have it run jobs on a machine you reach over SSH, see [Remote compute clusters](https://claude.com/docs/claude-science/remote-compute-clusters.md).
7> Claude Science is moving from the standalone Claude Science desktop app into Claude. Access to the app will be removed soon. [Learn more](https://claude.ai/move-claude-science) about how to add your Claude Science app work to Claude.
108
11The server needs x64 Linux on a glibc-based distribution (arm64 and musl-based distributions such as Alpine aren't supported), about 10 GB of free disk space, and the system packages below. Your Claude account needs a Pro, Max, Ultra, Team, or Enterprise plan; see [Requirements](https://claude.com/docs/claude-science/overview.md#requirements).
9The Claude Science desktop app runs on a remote Linux server (a cloud VM or a lab machine) the same way it runs on a workstation: the application and your data stay on the server, and you use the web app from your computer's browser through an SSH tunnel.
1210
11The server needs x64 Linux on a glibc-based distribution (arm64 and musl-based distributions such as Alpine aren't supported), about 10 GB of free disk space, and the system packages below. This page is for a server where the app is already installed. The app is no longer offered for download (see [Reinstalling and new computers](https://claude.com/docs/claude-science/update-claude-science.md#reinstalling-and-new-computers)). See [Requirements](https://claude.com/docs/claude-science/overview.md#requirements) for which accounts can sign in to the Claude Science desktop app.
12
1313## Install dependencies
1414
1515Claude runs code inside a sandbox, and the sandbox needs two system packages: bubblewrap and socat. Installing them takes administrator (`sudo`) access. Without it, see [Run Claude Science without administrator access](#run-claude-science-without-administrator-access).
1616
17On Fedora, RHEL, or Arch, use the command for your distribution from the Linux tab of [Install](https://claude.com/docs/claude-science/get-started.md#install). On Ubuntu or Debian, run:
17On Fedora, RHEL, or Arch, use the command for your distribution from the Linux tab of [Open the app](https://claude.com/docs/claude-science/get-started.md#open-the-app). On Ubuntu or Debian, run:
1818
1919```bash theme={null}
2020sudo apt-get update && sudo apt-get install -y curl bubblewrap socat
from line 32
3232
3333* **Ask the server's administrator** to set up what the sandbox needs: bubblewrap 0.8.0 or later and socat, installed for the whole system (from the distribution's packages, or by root in `/usr/local/bin`), and a kernel that allows unprivileged user namespaces.
3434* **Approve a copy of your own.** In version 0.1.71 and later, Claude Science can run bubblewrap and socat that you installed yourself, once you [approve them](#approve-your-own-copy-of-bubblewrap-or-socat).
35* **Use the server as an SSH host.** Install Claude Science on your own computer and add the server as an SSH host (see [Remote compute clusters](https://claude.com/docs/claude-science/remote-compute-clusters.md)), if your organization allows SSH hosts. Claude runs jobs on the server under your own account, with your approval. Jobs run outside the sandbox, so the server doesn't need bubblewrap, socat, or the kernel setting, and you don't need administrator access there.
3635
3736Only an administrator can install bubblewrap and socat for the whole system or change the kernel setting. On Ubuntu 23.10 and later, bubblewrap can also need an AppArmor profile that lets it create user namespaces. Claude Science checks for these when it starts and names the first one that's missing. Once that's fixed, the next start names the next one, if any.
3837
39Installing Claude Science itself doesn't need root or `sudo`. The installer puts the `claude-science` command in `~/.local/bin`, or in another folder you own if you export `CLAUDE_SCIENCE_INSTALL_DIR` with that folder's path before you run it.
40
4138If you run Claude Science on a cluster's login node, these points differ from a server you have to yourself:
4239
4340* Check your site's rules first. Claude runs its analysis code on the machine where Claude Science runs, and many sites limit long-running or heavy work on login nodes.
from line 46
4946
5047In version 0.1.71 and later, Claude Science runs a copy of bubblewrap or socat that isn't in `/usr/bin`, `/usr/local/bin`, or `/bin` only after you approve it. That includes copies from conda, pixi, a cluster module, or your home folder. An approval can't get around user namespaces that the kernel or AppArmor blocks. Claude Science ignores approvals where your organization [manages the network allowlist](https://claude.com/docs/claude-science/admin-controls.md#network-allowlist), and inside a container or sandbox that remaps user accounts.
5148
52An approved socat lets Claude Science start, but code that Claude runs has no network access until an administrator installs socat in a system folder. On a new install, Claude Science then can't set up its starter Python and R environments. It reports "Package downloads are being blocked by network policy" even when the network blocks nothing, and the package mirror it suggests won't help.
49An approved socat lets Claude Science start, but code that Claude runs has no network access until an administrator installs socat in a system folder. If Claude Science hasn't set up its starter Python and R environments yet, it then can't. It reports "Package downloads are being blocked by network policy" even when the network blocks nothing, and the package mirror it suggests won't help.
5350
54To install both tools with conda and approve them on 0.1.71 and later, [install Claude Science](#install-claude-science), stop it with `claude-science stop` if it's running, and run these commands in a terminal:
51To install both tools with conda and approve them on 0.1.71 and later, stop the app with `claude-science stop` if it's running, and run these commands in a terminal:
5552
5653```bash theme={null}
5754conda create -y --copy --override-channels -p ~/claude-science-tools -c conda-forge bubblewrap socat
from line 57
6057
6158Type `y` at "Approve? \[y/N]". When it prints "Approved bubblewrap" and "Approved socat", start Claude Science again. Claude Science runs a private copy of each program, so run the second command again whenever you update yours.
6259
63On 0.1.70 and earlier, which have no `sandbox approve`, run only the first command, then the [install command](#install-claude-science). In the approval steps that it prints, give the two paths from the second command, then start Claude Science again.
60On 0.1.70 and earlier, which have no `sandbox approve`, stay on the version you have, or ask the server's administrator to install both tools for the whole system before you update. If that isn't possible, see [not approved](https://claude.com/docs/claude-science/troubleshooting.md#not-approved). If Anthropic [requires a later version](https://claude.com/docs/claude-science/manage-on-devices.md#required-updates), Claude doesn't reply until you update.
6461
6562To approve copies you installed yourself, put the path of each program in the second command, not the path of a launcher. For example, after `pixi global install bubblewrap socat`, `command -v bwrap socat` shows launchers in `~/.pixi/bin`, and the programs are `~/.pixi/envs/bubblewrap/bin/bwrap` and `~/.pixi/envs/socat/bin/socat`. If the command says "not approved", see [not approved](https://claude.com/docs/claude-science/troubleshooting.md#not-approved).
6663
67## Install Claude Science
64## Check the claude-science command
6865
69```bash theme={null}
70curl -fsSL https://claude.ai/install-claude-science.sh | bash
71```
66Where the `claude-science` command is installed, run these commands to confirm that it works:
7267
73The installer downloads the current release, verifies its checksum, and installs the `claude-science` command in `~/.local/bin`. If it prints a PATH line at the end, add that line to your shell profile. Then confirm the command works:
74
7568```bash theme={null}
7669. ~/.profile
7770claude-science --version
from line 111
118111| Symptom | What it means |
119112| - | - |
120113| `command not found: claude-science` | `~/.local/bin` isn't on your PATH yet. Run `. ~/.profile` or open a new terminal. |
121| An error mentioning `bwrap not found in` or `bwrap was found on PATH at` | bubblewrap isn't installed in a system folder. In version 0.1.71 and later, Claude Science doesn't search your PATH, so it doesn't use a copy from conda, pixi, a cluster module, or your home folder until you approve it. Install it as shown in [Install dependencies](#install-dependencies), ask the server's administrator, or [approve a copy of your own](#approve-your-own-copy-of-bubblewrap-or-socat). If this happened after you typed `claude-science update`, you can [go back to version 0.1.70](https://claude.com/docs/claude-science/troubleshooting.md#not-approved). |
122| An error mentioning `socat is required` | socat isn't installed in a system folder, and Claude Science doesn't use a copy that's only elsewhere on your PATH. Install it as shown in [Install dependencies](#install-dependencies), or ask the server's administrator. If you can't do either, you can [approve a copy of your own](#approve-your-own-copy-of-bubblewrap-or-socat) so that Claude Science starts. Until socat is in a system folder, environment setup fails with `Package downloads are being blocked by network policy`, because code that Claude runs has no network access. If this happened after you typed `claude-science update`, you can [go back to version 0.1.70](https://claude.com/docs/claude-science/troubleshooting.md#not-approved). |
114| An error mentioning `bwrap not found in` or `bwrap was found on PATH at` | bubblewrap isn't installed in a system folder. In version 0.1.71 and later, Claude Science doesn't search your PATH, so it doesn't use a copy from conda, pixi, a cluster module, or your home folder until you approve it. Install it as shown in [Install dependencies](#install-dependencies), ask the server's administrator, or [approve a copy of your own](#approve-your-own-copy-of-bubblewrap-or-socat). If this happened after you typed `claude-science update`, you can [go back to version 0.1.70](https://claude.com/docs/claude-science/troubleshooting.md#not-approved). If Anthropic [requires a later version](https://claude.com/docs/claude-science/manage-on-devices.md#required-updates), Claude doesn't reply on 0.1.70 until you update. |
115| An error mentioning `socat is required` | socat isn't installed in a system folder, and Claude Science doesn't use a copy that's only elsewhere on your PATH. Install it as shown in [Install dependencies](#install-dependencies), or ask the server's administrator. If you can't do either, you can [approve a copy of your own](#approve-your-own-copy-of-bubblewrap-or-socat) so that Claude Science starts. Until socat is in a system folder, environment setup fails with `Package downloads are being blocked by network policy`, because code that Claude runs has no network access. If this happened after you typed `claude-science update`, you can [go back to version 0.1.70](https://claude.com/docs/claude-science/troubleshooting.md#not-approved). If Anthropic [requires a later version](https://claude.com/docs/claude-science/manage-on-devices.md#required-updates), Claude doesn't reply on 0.1.70 until you update. |
123116| A line starting `[sandbox]` that says `sandboxed commands run without network access`, in the terminal where `claude-science serve` runs or in its log (`claude-science logs`) | Claude Science started, but the sandbox has no network access. The sandbox runs socat only from system folders such as `/usr/bin`, and doesn't use a copy from conda, pixi, a cluster module, or your home folder, including a copy that you approved. Code that Claude runs can't reach the internet, and environment setup fails with `Package downloads are being blocked by network policy` even when the network blocks nothing. Install socat as shown in [Install dependencies](#install-dependencies), or ask the server's administrator to install it for the whole system. |
124117| An error mentioning `too old` | The copy of bubblewrap that the message names is older than 0.8.0. Upgrade it, or use a distribution that ships a newer version, such as Ubuntu 24.04 or later. If you can't upgrade it, [approve a newer copy of your own](#approve-your-own-copy-of-bubblewrap-or-socat). |
125118| An error mentioning `cannot create unprivileged user namespaces` | The kernel or an AppArmor profile blocks the sandbox from creating user namespaces; some Ubuntu 24.04 images restrict this. The error message names the settings to check on Ubuntu, Debian, and other distributions. |
from line 121
128121| A message mentioning `port 8000 is in use by another app — using port 8001 instead` | Claude Science started on the port it names. `claude-science url` prints both ports. Forward each one with that number on both sides. Or stop Claude Science and start it again with `--port`. |
129122| A message mentioning `daemon already running on port 8000` | Claude Science is already running. Run `claude-science url` for a fresh sign-in link, or `claude-science stop` to stop it. |
130123| The sign-in link shows an expired-link page | Links are single-use and valid for about three minutes. Run `claude-science url` on the server and open the fresh link; restarting with `claude-science stop` then `claude-science serve --no-browser` also prints one. |
131| Sign-in stops at claude.ai | The redirect couldn't return through the tunnel (choose **Paste code instead**), your account is on the Free plan (an upgrade is required), or your Team or Enterprise organization hasn't [enabled Claude Science](https://claude.com/docs/claude-science/enable-claude-science.md) yet. |
124| Sign-in stops at claude.ai | The redirect couldn't return through the tunnel (choose **Paste code instead**), your account can't use the Claude Science desktop app (see [Requirements](https://claude.com/docs/claude-science/overview.md#requirements)), or your Team or Enterprise organization hasn't [enabled Claude Science](https://claude.com/docs/claude-science/enable-claude-science.md) yet. |
132125| Interactive HTML previews render as static snapshots after a short delay (charts don't respond) | The tunnel isn't forwarding the preview port. Add the second `-L` forward for the preview port that `claude-science url` prints (8001 by default), with that number on both sides. |
133126| The browser can't reach `localhost:8000` | The tunnel isn't up; rerun the `ssh -L` command. If the tunnel is up, confirm Claude Science is running on the server with `claude-science status`. |
134| The installer reports no binary for your platform | Claude Science on Linux needs x64 with glibc. arm64 servers and musl-based distributions such as Alpine aren't supported. |
135| The installer stops with a message mentioning `was NOT installed` | Claude Science was already installed on the server, so the installer first tried to check that the new version starts there. The check didn't succeed, so nothing was replaced. The message and the lines under it say why and, where there is a fix, what to do. If they point to the [configuration file](https://claude.com/docs/claude-science/configuration-file-reference.md), `~/.claude-science/config.toml`, fix what they report in that file, then run the installer again as shown in [Install Claude Science](#install-claude-science). If they give no fix, keep using the copy you already had. |
136127
No line in this hunk matches that.