Skip to content

Installation

Stack can be installed via Cargo or built from source.

Requirements

  • Git 2.23 or later
  • Rust 1.70+ (for building from source)

Install via Cargo

The easiest way to install Stack:

cargo install stkd-cli

This installs the gt command globally.

Build from Source

For the latest development version:

# Clone the repository
git clone https://github.com/neul-labs/stkd
cd stkd

# Build and install
cargo install --path crates/stkd-cli

Verify Installation

Check that Stack is installed correctly:

gt --version

You should see output like:

gt 0.6.0

Shell Completions

Stack supports shell completions for bash, zsh, and fish.

# Add to ~/.bashrc
eval "$(gt completions bash)"
# Add to ~/.zshrc
eval "$(gt completions zsh)"
# Add to ~/.config/fish/config.fish
gt completions fish | source

Updating

To update to the latest version:

cargo install stkd-cli --force

Uninstalling

To remove Stack:

cargo uninstall stkd-cli

Next Steps