Server Setup
- Docker
- CasaOS
Step 1: Create directories
mkdir -p claude-world/{config,workplace}
cd claude-world
Step 2: Download the files
# Container init script
curl -fsSL https://raw.githubusercontent.com/Piero24/Claude-World/main/init.sh \
-o init.sh
chmod +x init.sh
# Plain Docker Compose file
curl -fsSL https://raw.githubusercontent.com/Piero24/Claude-World/main/compose.yaml \
-o compose.yaml
Step 3: Edit the values
nano compose.yaml
Replace under the dev service:
CHANGE_ME_WEB_PASSWORD: login password for the ttyd web terminalCHANGE_ME_SUDO_PASSWORD: sudo password, also used for SSH loginCHANGE_ME_ANTHROPIC_KEY: your Anthropic API keyCHANGE_ME_GIT_NAME/CHANGE_ME_GIT_EMAIL: your Git identityCHANGE_ME_GITHUB_TOKEN: GitHub fine-grained PATTZ: your timezone
Step 4: Start the container
docker compose up -d
docker ps | grep claude-world
You should see one container: claude-world.
Step 5: Test direct access
| Test | URL / Command |
|---|---|
| Web terminal | http://<server-ip>:7681, ttyd login (user: abc, pass: PASSWORD) |
| SSH | ssh abc@<server-ip> -p 2222, login with SUDO_PASSWORD |
Both methods auto-launch Claude in /workplace. Exit Claude with /exit or Ctrl+D to get a normal shell prompt.
If both work and Claude starts, the container is running correctly.
Step 1: Run the installer
The installer asks where to store data, downloads everything, and prints next steps:
curl -fsSL https://raw.githubusercontent.com/Piero24/Claude-World/main/install.sh | bash
It creates config/ and workplace/ under your chosen path (default: /DATA/AppData/claude-world).
Step 2: Edit the values
nano /DATA/AppData/claude-world/compose-casaos.yaml
Replace under the dev service:
CHANGE_ME_WEB_PASSWORD: login password for the ttyd web terminalCHANGE_ME_SUDO_PASSWORD: sudo password, also used for SSH loginCHANGE_ME_ANTHROPIC_KEY: your Anthropic API keyCHANGE_ME_GIT_NAME/CHANGE_ME_GIT_EMAIL: your Git identityCHANGE_ME_GITHUB_TOKEN: GitHub fine-grained PATTZ: your timezone
Step 3: Import into CasaOS
App Store → Custom Install (top right) → Import → Paste the content of compose-casaos.yaml → Submit
Step 4: Verify the container is running
docker ps | grep claude-world
You should see one container: claude-world.
Step 5: Test direct access
| Test | URL / Command |
|---|---|
| Web terminal | http://<casaos-ip>:7681, ttyd login (user: abc, pass: PASSWORD) |
| SSH | ssh abc@<casaos-ip> -p 2222, login with SUDO_PASSWORD |
Both methods auto-launch Claude in /workplace. Exit Claude with /exit or Ctrl+D to get a normal shell prompt.
If both work and Claude starts, the container is running correctly.