Install the CLI
The CLI is a single binary called space, for Linux and macOS on x86_64 and arm64. It has no
dependencies; space ssh uses the ssh client already on your machine (OpenSSH).
Install
curl -fsSL https://app.agent-spaces.eu/install.sh | bashThe script picks the binary for your OS and CPU, checks it against the portal’s
SHA256SUMS and installs it as ~/.local/bin/space. Set SPACE_INSTALL_DIR to install
somewhere else. If that directory is not on your PATH, the script prints the line to add
to your shell’s startup file.
The checksums come from the same server as the binary, so they catch a broken download, not a compromised server. Signed releases are planned.
Note
The script uses curl, which does not set macOS’s quarantine flag, so Gatekeeper lets
the binary run. If you download a binary with a browser instead, clear the flag with
xattr -d com.apple.quarantine space. The macOS binaries are not notarized yet.
To read the script before you run it:
curl -fsSL https://app.agent-spaces.eu/install.sh -o install.sh
less install.sh
bash install.shCheck the installation
space versionShell completion
space completions prints a completion script for bash, zsh, fish, elvish or
powershell:
space completions bash > ~/.local/share/bash-completion/completions/space