Add install script and quickstart section
install.sh fetches the latest release dynamically from the GitHub API, so it never needs updating when new versions are published. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3413b02ff8
commit
4f00cac747
2 changed files with 45 additions and 1 deletions
17
README.md
17
README.md
|
|
@ -10,7 +10,22 @@ Collaborator is an end-to-end environment for agentic development. Terminals, co
|
||||||
|
|
||||||
The app is early-stage and in active development. macOS only for now.
|
The app is early-stage and in active development. macOS only for now.
|
||||||
|
|
||||||
**[Download the latest release](https://github.com/collaborator-ai/collab-public/releases/latest)**
|
## Install
|
||||||
|
|
||||||
|
**[Download the latest release](https://github.com/collaborator-ai/collab-public/releases/latest)** (macOS, Apple Silicon)
|
||||||
|
|
||||||
|
Or install from the command line:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
curl -fsSL https://raw.githubusercontent.com/collaborator-ai/collab-public/main/install.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
## Quickstart
|
||||||
|
|
||||||
|
1. Open Collaborator
|
||||||
|
2. Add a workspace — click the workspace dropdown in the navigator and choose "Add workspace", or press Cmd+Shift+O, then select a local folder
|
||||||
|
3. Double-click the canvas to create a terminal, and start an agent
|
||||||
|
4. Drag files from the navigator onto the canvas to open them as tiles alongside your running agents
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|
||||||
|
|
|
||||||
29
install.sh
Executable file
29
install.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
REPO="collaborator-ai/collab-public"
|
||||||
|
INSTALL_DIR="/Applications"
|
||||||
|
TMP_DIR=$(mktemp -d)
|
||||||
|
|
||||||
|
cleanup() { rm -rf "$TMP_DIR"; }
|
||||||
|
trap cleanup EXIT
|
||||||
|
|
||||||
|
echo "Fetching latest release..."
|
||||||
|
ZIP_URL=$(curl -fsSL "https://api.github.com/repos/${REPO}/releases/latest" \
|
||||||
|
| grep -o '"browser_download_url": *"[^"]*arm64-mac\.zip"' \
|
||||||
|
| head -1 \
|
||||||
|
| cut -d'"' -f4)
|
||||||
|
|
||||||
|
if [ -z "$ZIP_URL" ]; then
|
||||||
|
echo "Error: could not find a macOS ARM64 zip in the latest release." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Downloading $(basename "$ZIP_URL")..."
|
||||||
|
curl -fSL --progress-bar "$ZIP_URL" -o "$TMP_DIR/Collaborator.zip"
|
||||||
|
|
||||||
|
echo "Installing to ${INSTALL_DIR}..."
|
||||||
|
ditto -xk "$TMP_DIR/Collaborator.zip" "$INSTALL_DIR"
|
||||||
|
|
||||||
|
echo "Done. Opening Collaborator..."
|
||||||
|
open "$INSTALL_DIR/Collaborator.app"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue