software.cortex.foundation, verifies its SHA-256 checksum against the release manifest, and only then writes anything to disk. There is nothing to configure afterwards: sign in and you have a working session view.
This page covers the installers for macOS, Linux and Windows, what the checksum check does and does not prove, how to pin a version or a release channel, keeping the CLI current with cortex upgrade, building from source, and uninstalling.
Install
- macOS and Linux
- Windows
~/.local/bin and puts a cortex command there. Add that directory to your PATH yourself if it is not already on it. The install script needs Python 3.8 or later.What the installer does, and refuses to do
Minimum operating system, kernel and libc versions are not published. The musl builds have audio disabled and must pass a static-link check, but that does not establish a supported floor for any platform.
What the checksum check proves
The install script verifies the SHA-256 checksum of the archive against the release manifest before it writes anything, andcortex upgrade verifies it again before replacing a binary. The check happens for you; there is no separate command for verifying a download by hand.
Pin a version, or change the channel
Set these in the environment of the shell that runs the install script.Keep it current
-c/--check, --changelog, -f/--force, -y/--yes, --channel and --pre. Version pins follow SemVer ordering, including prereleases. From inside a session, /upgrade does the same thing, and the check_for_update_on_startup key in configuration controls the check at launch.
An upgrade verifies SHA-256 before it replaces anything, keeps the previous binary beside the new one as a recovery copy, then runs the new binary’s --version with a deadline and bounded output. If that check fails, the previous binary is restored. A failed release lookup exits non-zero rather than reporting that you are already up to date.
If you installed through a package manager,
cortex upgrade sends you back to that package manager instead of replacing the binary itself. Automatic replacement of a musl installation is also refused: use the install script above for those. Package-manager coverage varies by platform and is not documented here; the shell and PowerShell installers are the supported path.Build from source
This is contributor scope, not the supported way to install the CLI. Use the Rust toolchain version pinned in the repository.Uninstall
-c/--keep-config, -d/--keep-data, --dry-run, -f/--force, -y/--yes, --backup and -p/--purge. To see what would be deleted before you commit to it, check Data locations.