Skip to content

Install

endurable installs with npm and runs as one command.

Terminal window
npm install --global endurable
endurable

The rest of this page is what you need before that, and what happens after.

  • A Mac with Apple silicon, or Linux. Ubuntu 24.04 on x86-64 or arm64 is what endurable is tested on. Other glibc-based Linux systems should work. Intel Macs and Windows aren’t tested.
  • Node 24.20 or later. endurable refuses to start on an older Node and says how to get a newer one.
  • git.
  • A way to run a model: a Claude Pro or Max subscription, a ChatGPT subscription, or an API key. You set this up in the app the first time you run it.

A few more tools are worth having. On first run endurable offers to install most of them for you, with Homebrew on a Mac and with apt on Ubuntu and Debian:

Tool What it’s for
ripgrep Fast code search for agents. Without it they search with slower shell commands.
tmux 3.4+ Keeps terminals and running commands alive when endurable restarts, and lets waits run commands.
GitHub CLI (gh) Pull requests, CI status and reviews.
poppler Lets agents read PDFs.
The agents’ browser A headless Chromium agents use to look at the apps they build.
Tailscale Using endurable from your phone.
Terminal window
brew install node@24
echo "export PATH=\"$(brew --prefix node@24)/bin:\$PATH\"" >> ~/.zprofile

Open a new terminal window afterward so it finds Node 24.

Terminal window
endurable

The terminal prints where endurable is running, http://127.0.0.1:4317 unless you changed it, and where its data is. The first time, it opens that address in your browser. On a Linux machine with no desktop, open the address yourself in a browser on the same computer.

Leave the terminal open while you use endurable. Ctrl+C stops it, and endurable starts it again. Threads that were working when it stopped pick up where they left off.

If you start it a second time, it tells you where the first one is running and exits.

Terminal window
endurable --port 4400 --data-dir ~/endurable-data
Option What it does
--port <n> The port to listen on. Default 4317.
--data-dir <path> Where endurable keeps everything. Default ~/.endurable.
--version Prints the installed version.
--help Lists these options.
--hub <url> --hub-name <name> Join a hub as it starts. See Several computers.
--tailscale-allow <logins> Other Tailscale logins to let in, for tagged machines. See Phone and remote access.

Until you’ve started your first thread, the app shows a checklist. Each step has a permanent place in Settings, so nothing here is one-time only.

  1. Check this computer. Lists the tools above and what’s missing. ripgrep, tmux, poppler and the agents’ browser have an Install button, when Homebrew or apt is there to install with. git, gh and Tailscale show the command to run yourself. Nothing here blocks the next step: endurable works without the optional tools, with less.
  2. Choose a model. Sign in with Claude or ChatGPT, or paste an API key. See Models, accounts and limits.
  3. Add a project. Pick one of the repositories endurable found on this computer, browse to another, or make a new empty one. See Projects.
  4. Use your phone. Optional. See Phone and remote access.
  5. Start your first thread. The last step is the composer itself. Your first thread walks through it.

Open Settings → Restart. It shows the version that’s running and the latest on npm. If there’s a newer one, Restart installs it and starts endurable again on it. Threads that were working pick up where they left off. This works from your phone too.

From a terminal, it’s:

Terminal window
npm install --global endurable@latest

If you installed with sudo, endurable can’t update itself without your password. Settings → Restart shows the command to run.

endurable doesn’t install a login item. Your system’s own service manager can run it.

Save this as ~/Library/LaunchAgents/dev.endurable.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>dev.endurable</string>
<key>ProgramArguments</key>
<array>
<string>/bin/zsh</string>
<string>-lc</string>
<string>exec endurable</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardOutPath</key>
<string>/tmp/endurable.log</string>
<key>StandardErrorPath</key>
<string>/tmp/endurable.log</string>
</dict>
</plist>

Then:

Terminal window
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/dev.endurable.plist # start now and at login
launchctl bootout gui/$(id -u)/dev.endurable # stop

Leave restarting to endurable. It already starts itself again after a crash, and gives up after five crashes in fifteen minutes on purpose. A service manager that restarts it again would undo that.

Stop endurable, then:

Terminal window
npm uninstall --global endurable
rm -rf ~/.endurable

The second line deletes every thread, your settings, the worktrees threads worked in, and the Claude and ChatGPT sign-ins you made in endurable. Your accounts themselves aren’t touched, and neither are your repositories. Branches that threads made (endurable/…) stay in each repository until you delete them. If you turned on Tailscale, endurable removes its address from Tailscale when it stops.

Two things live outside that folder:

  • Secrets and API keys are in your system’s keyring, under the name endurable. Remove them in Settings → Secrets and Settings → Accounts before you uninstall, or afterward in Keychain Access or your keyring’s own app.
  • Terminals kept alive by tmux outlive endurable on purpose. Before deleting the folder, end them with tmux -S ~/.endurable/tmux.sock kill-server.