Skip to content

Installing Kasetto

Installation methods

Install Kasetto with our standalone installers or your package manager of choice.

Standalone installer

Kasetto provides a standalone installer to download and install the binary:

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

$ curl -fsSL https://raw.githubusercontent.com/pivoshenko/kasetto/main/scripts/install.sh | sh

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

PS> powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/pivoshenko/kasetto/main/scripts/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 https://raw.githubusercontent.com/pivoshenko/kasetto/main/scripts/install.ps1 | more"

Alternatively, binaries can be downloaded directly from GitHub Releases.

By default, the binary is placed in ~/.local/bin. The following environment variables can customize the installation:

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

Homebrew

Kasetto is available via a Homebrew tap.

$ brew install pivoshenko/tap/kasetto

Scoop

Kasetto is available via a Scoop bucket (Windows).

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

Cargo

Kasetto is available via crates.io.

$ cargo install kasetto

Note

This method builds Kasetto from source, which requires a compatible Rust toolchain.

GitHub Releases

Kasetto release artifacts can be downloaded directly from GitHub Releases.

Each release page includes binaries for all supported platforms.

From source

Clone the repository and install with Cargo:

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

Upgrading Kasetto

When Kasetto is installed via the standalone installer, it can update itself on-demand:

$ kst self-update

When another installation method is used, use the package manager's upgrade method instead. For example, with Cargo:

$ cargo install kasetto

Shell autocompletion

Tip

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

To enable shell autocompletion for Kasetto commands, run one of the following:

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 the shell or source the shell config file.

Next steps

See the quick start or jump straight to the configuration reference to start using Kasetto.