Skip to content

Installation

skillshub uses git for tap management. Make sure it is available on your system:

Terminal window
git --version

If not installed, see git-scm.com/downloads.

Section titled “Installing from Pre-built Binaries (Recommended)”

Pre-built binaries are available for Linux (x86_64) and macOS (x86_64, aarch64). Download the latest release from GitHub:

Terminal window
# Linux (x86_64)
curl -L https://github.com/EYH0602/skillshub/releases/latest/download/skillshub-x86_64-unknown-linux-gnu.tar.gz | tar xz
sudo mv skillshub /usr/local/bin/
# macOS (Apple Silicon)
curl -L https://github.com/EYH0602/skillshub/releases/latest/download/skillshub-aarch64-apple-darwin.tar.gz | tar xz
sudo mv skillshub /usr/local/bin/
# macOS (Intel)
curl -L https://github.com/EYH0602/skillshub/releases/latest/download/skillshub-x86_64-apple-darwin.tar.gz | tar xz
sudo mv skillshub /usr/local/bin/

You can also download binaries directly from the GitHub Releases page.

If you have the Rust toolchain installed, you can install skillshub from crates.io:

Terminal window
cargo install skillshub

This downloads the latest published release, compiles it, and places the binary in ~/.cargo/bin/. As long as that directory is on your PATH, you are good to go.

If you do not already have Rust and Cargo installed, use rustup to set them up:

Terminal window
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Confirm that skillshub was installed correctly:

Terminal window
skillshub --version

You should see output similar to:

skillshub 1.0.0

If you want the latest development version or need to make modifications, you can build skillshub from its source repository.

Terminal window
git clone https://github.com/EYH0602/skillshub.git
cd skillshub
Terminal window
cargo build --release

The compiled binary will be located at target/release/skillshub. You can copy it to a directory on your PATH:

Terminal window
cp target/release/skillshub ~/.cargo/bin/

To make sure everything works on your system, run the test suite before installing:

Terminal window
cargo test

skillshub can generate tab-completion scripts for your shell. This gives you autocompletion for commands, flags, and installed skill names.

Terminal window
skillshub completions bash > ~/.local/share/bash-completion/completions/skillshub
Terminal window
skillshub completions zsh > ~/.local/share/zsh/site-functions/_skillshub

Make sure the directory is listed in your fpath. You can add the following to your ~/.zshrc if it is not already present:

Terminal window
fpath=(~/.local/share/zsh/site-functions $fpath)
autoload -Uz compinit && compinit
Terminal window
skillshub completions fish > ~/.config/fish/completions/skillshub.fish

After generating the completion file for your shell, open a new terminal session or reload your shell configuration for the completions to take effect.