Install Codi
Codi 0.1.1 is available for 64-bit Linux and Windows systems using the amd64 architecture. Releases are published at https://downloads.codinamo.com/codi/.
| Platform | Package |
|---|---|
Linux (amd64) |
|
Windows (amd64) |
Each package has a SHA-256 checksum published next to it, at the package URL followed by .sha256.
There is no macOS package and no Linux arm64 package yet. Releases are not signed and do not include an SBOM yet; the SHA-256 checksum is the only integrity check currently available.
Linux
The installer downloads the latest release, verifies its SHA-256 checksum, and installs the codi executable into /usr/local/bin:
curl -fsSL https://downloads.codinamo.com/codi/install.sh | sh
Writing to /usr/local/bin usually requires administrator privileges. To install without them, or to select a specific release, pass --install-dir and --version to the installer:
curl -fsSL https://downloads.codinamo.com/codi/install.sh \
| sh -s -- --install-dir "$HOME/.local/bin"
curl -fsSL https://downloads.codinamo.com/codi/install.sh \
| sh -s -- --version 0.1.1 --install-dir "$HOME/.local/bin"
The installation directory must be present in your PATH. Verify the installation:
codi version
The command should print codi 0.1.1.
Install manually
To install without the installer, download the release archive and its checksum, verify the archive, extract it to a temporary directory, and install the executable:
version="0.1.1"
archive="codi-${version}-linux-amd64.tar.gz"
temporary_directory="$(mktemp -d)"
curl -fLO "https://downloads.codinamo.com/codi/${version}/${archive}"
curl -fLO "https://downloads.codinamo.com/codi/${version}/${archive}.sha256"
echo "$(awk '{print $1}' "${archive}.sha256") ${archive}" | sha256sum -c -
tar -xzf "${archive}" -C "${temporary_directory}"
sudo install -m 0755 "${temporary_directory}/bin/codi" /usr/local/bin/codi
rm -rf "${temporary_directory}" "${archive}" "${archive}.sha256"
codi version
Continue only if sha256sum reports OK for the archive.
Windows
There is no installer for Windows. Download the zip archive, extract it, and add its bin folder, which contains codi.exe, to your PATH. The following PowerShell commands do this under your user profile and verify the SHA-256 checksum first:
$Version = "0.1.1"
$Archive = "codi-$Version-windows-amd64.zip"
$DownloadUrl = "https://downloads.codinamo.com/codi/$Version/$Archive"
$InstallDirectory = Join-Path $env:LOCALAPPDATA "Programs\Codi"
Invoke-WebRequest -Uri $DownloadUrl -OutFile $Archive
Invoke-WebRequest -Uri "$DownloadUrl.sha256" -OutFile "$Archive.sha256"
$Expected = ((Get-Content "$Archive.sha256" -Raw).Trim() -split "\s+")[0]
$Actual = (Get-FileHash $Archive -Algorithm SHA256).Hash
if ($Actual -ne $Expected) { throw "SHA-256 verification failed for $Archive" }
New-Item -ItemType Directory -Force -Path $InstallDirectory | Out-Null
Expand-Archive -Path $Archive -DestinationPath $InstallDirectory -Force
Remove-Item $Archive, "$Archive.sha256"
$CodiBin = Join-Path $InstallDirectory "bin"
$UserPath = [Environment]::GetEnvironmentVariable("Path", "User")
if (($UserPath -split ";") -notcontains $CodiBin) {
$NewPath = if ($UserPath) { "$UserPath;$CodiBin" } else { $CodiBin }
[Environment]::SetEnvironmentVariable("Path", $NewPath, "User")
}
& (Join-Path $CodiBin "codi.exe") version
The command should print codi 0.1.1. Open a new terminal after installation so that the updated user PATH takes effect.
Check for updates
Codi does not update itself. codi update check reads the release manifest at https://downloads.codinamo.com/codi/latest.json and reports whether a newer version has been published:
codi update check
To upgrade, run the Linux installer again or repeat the Windows steps with the new version.
Connect to Codinamo
Create a profile for the production server and authenticate:
codi profile create production --server https://codinamo.com
codi profile use production
codi auth login --email user@example.com
codi auth whoami
After authentication, select a workspace and verify access:
codi workspace list
codi workspace use my-workspace
codi workspace current
See Work with Codi for common workflows and Codi command reference for the complete command syntax.