Skip to content

Installing Kasetto

Installation Methods

Pick whichever method works for you — standalone installer, package manager, or straight from source.

Standalone Installer

The quickest way to get started — downloads and installs the binary in one command:

Use curl to download the script and execute it with sh:

curl -fsSL kasetto.dev/install | sh

Use irm to download the script and execute it with iex:

PS> powershell -ExecutionPolicy Bypass -c "irm kasetto.dev/install.ps1 | iex"

Changing the execution policy allows running a script from the internet.

Tip

The installation script may be inspected before use:

curl -fsSL https://raw.githubusercontent.com/pivoshenko/kasetto/main/scripts/install.sh | less
PS> powershell -c "irm kasetto.dev/install.ps1 | more"

Alternatively, binaries can be downloaded directly from GitHub Releases.

The binary lands in ~/.local/bin by default. Override it with environment variables:

Variable Description Default
KASETTO_VERSION Version tag to install Latest release
KASETTO_INSTALL_DIR Installation directory ~/.local/bin (Unix) / %USERPROFILE%\.local\bin (Windows)

Homebrew

Available via a Homebrew tap:

brew install pivoshenko/tap/kasetto

Scoop

Available via a Scoop bucket on Windows:

scoop bucket add kasetto https://github.com/pivoshenko/scoop-bucket
scoop install kasetto

Cargo

Available on crates.io:

cargo install kasetto

Note

This builds from source, so you'll need a compatible Rust toolchain.

GitHub Releases

Prefer to grab a binary directly? Head to GitHub Releases — every release includes binaries for all supported platforms.

From Source

Clone and install with Cargo:

git clone https://github.com/pivoshenko/kasetto && cd kasetto
cargo install --path .

Upgrading

If you used the standalone installer, updating is a one-liner:

kst self update

For Homebrew or Cargo installs, use the package manager's own upgrade command. For example, with Cargo:

cargo install kasetto

Shell Autocompletion

Tip

You can run echo $SHELL to help determine your shell.

To get tab completions for kst, add one of these to your shell config:

echo 'eval "$(kst completions bash)"' >> ~/.bashrc
echo 'eval "$(kst completions zsh)"' >> ~/.zshrc
echo 'kst completions fish | source' > ~/.config/fish/completions/kst.fish
if (!(Test-Path -Path $PROFILE)) {
  New-Item -ItemType File -Path $PROFILE -Force
}
Add-Content -Path $PROFILE -Value '(& kst completions powershell) | Out-String | Invoke-Expression'

Then restart your shell or source the config file.

Next Steps

Check out the quick start, or jump straight to the configuration reference if you already know what you want.