Install Skeg
Install the 0.8 server and verify a local start.
Skeg 0.8 · Development documentation
Install the Skeg 0.8.0 server, then check that it starts on a local address. Use a release archive if you want a ready-to-run binary. Use Cargo if you prefer to build the server from its published crate.
Install a release binary
Open Skeg v0.8.0 on GitHub. Download the archive for your operating system and CPU, together with its matching .sha256 file. Run uname -m if you need to check the CPU architecture.
| Platform | Archive |
|---|---|
| macOS on Apple silicon | skeg-v0.8.0-aarch64-apple-darwin.tar.gz |
| Linux ARM64 | skeg-v0.8.0-aarch64-unknown-linux-gnu.tar.gz |
| Linux x86-64 | skeg-v0.8.0-x86_64-unknown-linux-gnu.tar.gz |
Put both downloads in a fresh directory. Set archive to the file you chose.
The following example uses the Apple silicon archive. Verify the checksum
before extracting the binary.
archive=skeg-v0.8.0-aarch64-apple-darwin.tar.gz
shasum -a 256 -c "$archive.sha256" && tar -xzf "$archive"
On Linux, use sha256sum -c "$archive.sha256" && tar -xzf "$archive" if shasum is unavailable. A checksum failure means the archive must be downloaded again before installing it.
Copy the extracted server into a directory on your PATH:
mkdir -p "$HOME/.local/bin"
install -m 755 ./skeg "$HOME/.local/bin/skeg"
export PATH="$HOME/.local/bin:$PATH"
Add the export to your shell’s startup file if you want the executable available in new shells.
Install with Cargo
Use Rust 1.88 or newer and a C toolchain. This command builds the published crate and installs the skeg executable:
cargo install skeg-server --version 0.8.0 --locked
Cargo installs binaries in ~/.cargo/bin by default. Add that directory to PATH if your shell cannot find the executable. The server package provides skeg. Clients and integrations covers the separate skeg-cli and language clients.
Check the installation
Run:
skeg --version
The version line should read skeg 0.8.0. If a different version appears, run command -v skeg to see which executable your shell selected.
Start the server on loopback with a fresh temporary directory:
skeg_data=$(mktemp -d)
printf 'Temporary data directory: %s\n' "$skeg_data"
skeg --data-dir "$skeg_data" --addr 127.0.0.1:6379 --protocol resp3
The startup output should show 127.0.0.1:6379 and zero indexes. If the address is already in use, choose an unused port. With redis-cli installed, run redis-cli -3 -h 127.0.0.1 -p 6379 PING in a second terminal. The server should return PONG.
To keep going, follow your first vector search using this server and skip its server startup step. When finished, stop Skeg with Ctrl+C. Remove the temporary directory after the server has stopped if you want to discard its data.
For a server that other machines can reach, see Deployment. To open data created by a previous release, follow Upgrade from Skeg 0.7 to 0.8.