Installation
Prerequisites
Section titled “Prerequisites”skillshub uses git for tap management. Make sure it is available on your system:
git --versionIf not installed, see git-scm.com/downloads.
Installing from Pre-built Binaries (Recommended)
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:
# Linux (x86_64)curl -L https://github.com/EYH0602/skillshub/releases/latest/download/skillshub-x86_64-unknown-linux-gnu.tar.gz | tar xzsudo 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 xzsudo 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 xzsudo mv skillshub /usr/local/bin/You can also download binaries directly from the GitHub Releases page.
Installing via Cargo
Section titled “Installing via Cargo”If you have the Rust toolchain installed, you can install skillshub from crates.io:
cargo install skillshubThis 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:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shVerifying the Installation
Section titled “Verifying the Installation”Confirm that skillshub was installed correctly:
skillshub --versionYou should see output similar to:
skillshub 1.0.0Building from Source
Section titled “Building from Source”If you want the latest development version or need to make modifications, you can build skillshub from its source repository.
Clone the Repository
Section titled “Clone the Repository”git clone https://github.com/EYH0602/skillshub.gitcd skillshubBuild a Release Binary
Section titled “Build a Release Binary”cargo build --releaseThe compiled binary will be located at target/release/skillshub. You can copy it to a directory on your PATH:
cp target/release/skillshub ~/.cargo/bin/Running Tests
Section titled “Running Tests”To make sure everything works on your system, run the test suite before installing:
cargo testShell Completions
Section titled “Shell Completions”skillshub can generate tab-completion scripts for your shell. This gives you autocompletion for commands, flags, and installed skill names.
skillshub completions bash > ~/.local/share/bash-completion/completions/skillshubskillshub completions zsh > ~/.local/share/zsh/site-functions/_skillshubMake sure the directory is listed in your fpath. You can add the following to your ~/.zshrc if it is not already present:
fpath=(~/.local/share/zsh/site-functions $fpath)autoload -Uz compinit && compinitskillshub completions fish > ~/.config/fish/completions/skillshub.fishAfter generating the completion file for your shell, open a new terminal session or reload your shell configuration for the completions to take effect.