Native CLI installation
Download and install the standalone Go CLI, choose an operating system, and connect it to CodePinion.
Download the CodePinion CLI from Settings → Developer → CLI Downloads, or open /downloads. The page shows only a signed release that an administrator has promoted and suggests a platform based on your browser. Use the operating-system and processor selectors if you are downloading for a different machine or the suggested processor does not match your device. For examples of what to do after installation, see Use the CodePinion CLI.
Install
Choose the target operating system and processor. Download the binary directly and compare SHA-256, or copy the installer commands. The commands download a file, verify its checksum, then run it; they never pipe a remote script to a shell.
The download page is public and does not require account sign-in. The installer requires Python 3.12+ and OpenSSL 3 with Ed25519 support. It verifies the publisher signature and executable digest before installing into your user directory. The executable itself is standalone Go. Add its installation directory to PATH if needed.
The release page lists the available operating systems and processor architectures. Installing the CLI does not enrol a server or start a background agent service. Server monitoring is an optional, separate setup described below.
Install on a server with apt or dnf
Debian and Ubuntu: open the apt tab on /downloads. It adds the CodePinion package key to /etc/apt/keyrings, then a repository line signed by that key. Run apt-get install codepinion. Check the key fingerprint shown on the page against the one you imported.
Fedora and RHEL: the dnf tab writes /etc/yum.repos.d/codepinion.repo with gpgcheck=1 and repo_gpgcheck=1, then installs.
Upgrades then come with your normal system updates. The package installs the agent's systemd units and an observation-only policy, and enables nothing. Upgrades never overwrite /etc/codepinion/policy.json.
Install without a package manager
Use the Shell script tab when the machine has no Python. It downloads install.sh, checks its SHA-256, and the script then checks the binary against the hash embedded for this release. Or use the Python Verified installer tab, which checks the release signature itself. For a manually installed binary, codepinion update checks and installs a newer release using the signed update metadata. Package-managed installs should be upgraded through apt or dnf instead.
Connect
codepinion version
codepinion --platform prod auth login
codepinion orgs list
codepinion repos list
Approve access in your signed-in browser. The default credential store is your OS keyring. On a headless server use --no-browser; private unencrypted file storage requires explicit --credential-store file consent.
Select actual IDs from the account reads:
codepinion context use --org ORGANISATION_ID --repo REPOSITORY_ID
codepinion tasks list
codepinion tasks list --page 2
codepinion tools list
context use verifies repository ownership and saves the selected platform/context. Lists remain paginated. tools list discovers capabilities and does not invoke them. See Use the CodePinion CLI for planning, AI chat, hosted apps, server-agent scenarios, and troubleshooting.
Inside a checkout, codepinion whereami finds the repository, codepinion graph shows the board, and codepinion ask opens a full-screen chat with CodePinion's agent. Board and app writes use the same safety checks as the CodePinion skill.
Connect a server
Open Settings → Servers → Connect a server to get a one-use invitation, then on the server run sudo codepinion agent enrol --token-stdin, paste it, and run sudo codepinion agent install-service --yes --enable. The agent starts read-only; changes need your approval of the exact change and the server's own policy in /etc/codepinion/policy.json.
Sign out
codepinion auth logout removes the local credential. codepinion auth revoke invalidates the current API token server-side and removes it locally. If step-up is required, use codepinion auth elevate, approve in the browser, then retry revocation.
If downloads are unavailable
The administrator must deploy CLI download support, configure the trusted public key, build a reviewed committed revision through the native release workflow, and promote its signed artifact catalogue. An unpublished page is not an installation failure.
For the complete command guide and common scenarios, see Use the CodePinion CLI.
Install a raw binary manually
On Linux/macOS, verify the downloaded file against the SHA-256 shown on CodePinion (use sha256sum on Linux or shasum -a 256 on macOS). Rename the selected binary to codepinion, then make it executable and place it on your user PATH:
chmod +x codepinion
mkdir -p "$HOME/.local/bin"
mv codepinion "$HOME/.local/bin/codepinion"
export PATH="$HOME/.local/bin:$PATH"
codepinion version
Inspect any existing destination before replacing it. On Windows, rename the selected file to codepinion.exe and put its directory on your user PATH; verify with PowerShell Get-FileHash -Algorithm SHA256. The verified installer is the simpler alternative when its Python/OpenSSL prerequisites are available.