Download
CodeInstances is a single static binary with no dependencies. Pick the archive for your system. These links always fetch the latest release, which is v0.5.0 right now.
| System | Archive |
|---|---|
| Linux, x86-64 | codeinstances_linux_amd64.tar.gz |
| Linux, ARM64 | codeinstances_linux_arm64.tar.gz |
| macOS, Apple silicon | codeinstances_darwin_arm64.tar.gz |
| macOS, Intel | codeinstances_darwin_amd64.tar.gz |
| Windows, x86-64 | codeinstances_windows_amd64.zip |
Each archive holds two programs: codeinstances itself, and codeinstances-demo, the self-checking demo described in how it was tested. The license files come with them.
Check the Download
The release page has a SHA256SUMS file with a checksum for every archive. On Linux or macOS:
sha256sum -c SHA256SUMS --ignore-missing
Every archive was smoke-tested on its own kind of machine before the release went out. The Intel macOS build is the exception: it’s checked for its architecture only, since the build machines are Apple silicon.
Install
On Linux or macOS, unpack and put the binary somewhere on your path:
tar -xzf codeinstances_linux_amd64.tar.gz
sudo mv codeinstances /usr/local/bin/
codeinstances version
The macOS binaries aren’t signed by Apple. If macOS refuses to run them, clear the quarantine flag:
xattr -d com.apple.quarantine codeinstances codeinstances-demo
On Windows, unzip the archive and run codeinstances.exe from a terminal.
Build From Source
With Go installed:
go install github.com/codeinstances/codeinstances/cmd/codeinstances@latest
The code is on GitHub, under the Apache License 2.0. It uses nothing outside the Go standard library.
Next
The quick start records and replays a first program in a couple of minutes.