diff --git a/README.md b/README.md index f477e21..7024bc6 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ behaviour (tools, danger gating, sandbox, skills, memory, sessions) comes from ```bash # 1 · Install the engine and the TUI -go install github.com/BackendStack21/odek/cmd/odek@latest -go install github.com/BackendStack21/bodek/cmd/bodek@latest +curl -fsSL https://odek.21no.de/install.sh | sh +curl -fsSL https://bodek.21no.de/install.sh | sh # 2 · Provide an LLM key (odek v2: provider env key) export DEEPSEEK_API_KEY= @@ -76,15 +76,11 @@ Download the latest compiled binary from the are published for Linux, macOS, and Windows (amd64 & arm64), with `checksums.txt` for verification. -One-liner for Linux / macOS (resolves the latest asset for your platform and -installs into `~/.local/bin`): +One-liner for Linux / macOS (checksum-verified, installs into `~/.local/bin`): + ```bash -OS=$(uname -s | tr '[:upper:]' '[:lower:]') -ARCH=$(uname -m); [ "$ARCH" = "x86_64" ] && ARCH=amd64 -URL=$(curl -fsSL https://api.github.com/repos/BackendStack21/bodek/releases/latest \ - | grep browser_download_url | grep "${OS}_${ARCH}" | cut -d '"' -f 4) -curl -fsSL "$URL" | tar -xz bodek && install -m 755 bodek ~/.local/bin/ +curl -fsSL https://bodek.21no.de/install.sh | sh ``` On Windows, download the `windows_amd64` (or `arm64`) `.zip` from the @@ -93,8 +89,9 @@ releases page and put `bodek.exe` on your `PATH`. ### From source ```bash -# Install odek (the engine) and bodek (the TUI) -go install github.com/BackendStack21/odek/cmd/odek@latest +# odek from source: clone the latest release tag and build — never +# 'go install ...odek@latest' (Go ignores v2 tags there; stale v1 result). +# bodek from source (v0 module, @latest is fine): go install github.com/BackendStack21/bodek/cmd/bodek@latest # Provide an LLM key (odek v2: provider env key) diff --git a/docs/install.sh b/docs/install.sh index 0843e3a..3d341e5 100644 --- a/docs/install.sh +++ b/docs/install.sh @@ -127,7 +127,7 @@ install_odek() { Odek is installed. Next, set up your provider: - 1. odek init # creates ~/.odek/config.json + 1. odek init --global # creates ~/.odek/config.json 2. Add your provider API key, e.g.: "providers": { "openai": { "apiKey": "sk-..." } } Full guide: https://github.com/BackendStack21/odek/blob/main/GETTING_STARTED.md @@ -156,7 +156,8 @@ maybe_install_odek() { case "$answer" in y|Y|yes|YES) install_odek ;; *) warn "skipping odek — bodek needs a running 'odek serve' to connect to. -To install it later, rerun with: sh install.sh --with-odek" ;; +To install it later: curl -fsSL https://odek.21no.de/install.sh | sh + (or rerun this installer with: sh install.sh --with-odek)" ;; esac }