Install
macOS or Linux
You need Git, Bash, curl and unzip. The installer downloads Bun if it is missing, installs the apetown command and starts the board.
git clone https://github.com/gberlian/apetown.git
cd apetown
bash install.sh
export PATH="$HOME/.arpe/bin:$PATH"
The installer adds the bin folder to your shell profile. The export line makes the command available in the terminal you are already in; a new terminal picks it up by itself.
Windows
You need Git and PowerShell 5.1 or later.
git clone https://github.com/gberlian/apetown.git
cd apetown
powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1
Open a new terminal before you type apetown.
What the installer does
- Creates the workspace root
~/rayswith a small demo project. - Installs the
apetowncommand into~/.arpe/bin. - Starts the board in the background at
http://localhost:5195/boardand opens it. The board writes its log to~/.arpe/board.log.
Running the installer again upgrades Apetown and leaves your projects in place. Stop running agent sessions first with apetown stop.
Options
| Bash | PowerShell | Effect |
|---|---|---|
--root DIR | -Root DIR | Keep workspaces in another folder instead of ~/rays. |
--port PORT | -Port PORT | Serve the board on another port, for example when 5195 is taken. |
--agent NAME | -Agent NAME | Default agent: claude-code, codex or claude-desktop. |
--uninstall | -Uninstall | Remove Apetown and keep your workspaces. |
--purge | -Purge | With uninstall, also delete the workspace folder the installer created, including your work. |
The same defaults can be set with environment variables: RAYS_ROOT for the folder and RAY_BOARD_PORT for the port. At launch, RAY_AGENT_BIN points to a different agent executable and RAY_NO_BROWSER=1 prints the board address instead of opening a browser.
Agents
Apetown drives the agent tools you install yourself. Install at least one and sign in once in a terminal:
- Claude Code, with a Claude account.
- Codex, with a ChatGPT or OpenAI account.
The board shows a tick in Settings, under Provider, for each tool that answers.
Uninstall
bash install.sh --uninstall # macOS or Linux
.\install.ps1 -Uninstall # Windows
Run it from the folder you cloned. Your workspaces stay unless you add --purge.