-
-
Notifications
You must be signed in to change notification settings - Fork 17
Installation
Works on any platform with Rust installed.
cargo install modelsdevRequires Rust (stable). Install via rustup if you don't have it.
Run the latest main flake directly from GitHub:
nix run github:reyamira/modelsInstall it into your profile:
nix profile install github:reyamira/modelsTo pin a release, include the tag:
nix run github:reyamira/models/v0.11.52
nix profile install github:reyamira/models/v0.11.52The flake is available from GitHub tags. It is not currently published to FlakeHub or nixpkgs.
brew install modelsmodels is in Homebrew core -- updates land through homebrew-core bump PRs.
Migrating from the tap? Run
brew untap arimxyer/tapto remove the old tap. Updates now come through Homebrew core and may take a bit longer to land after a release.
scoop install extras/modelsScoop Extras handles updates automatically.
Migrating from the custom bucket? Run
scoop bucket rm arimxyerto remove the old bucket.
paru -S models-bin # or: yay -S models-binMaintained by @Dominiquini. Updated automatically by the release workflow.
Download the .deb from GitHub Releases and install:
# amd64
sudo dpkg -i modelsdev_*_amd64.deb
# arm64
sudo dpkg -i modelsdev_*_arm64.debDownload the .rpm from GitHub Releases and install:
# x86_64
sudo rpm -i modelsdev-*.x86_64.rpm
# aarch64
sudo rpm -i modelsdev-*.aarch64.rpmDownload the latest release for your platform from GitHub Releases. Available targets:
| Platform | Target |
|---|---|
| Linux (x86_64) | x86_64-unknown-linux-gnu |
| Linux (ARM64) | aarch64-unknown-linux-gnu |
| macOS (Intel) | x86_64-apple-darwin |
| macOS (Apple Silicon) | aarch64-apple-darwin |
| Windows (x86_64) | x86_64-pc-windows-msvc |
git clone https://github.com/reyamira/models
cd models
cargo build --release
./target/release/modelsEach GitHub Release includes a SHA256SUMS file. After downloading a binary, .deb, or .rpm:
# Download SHA256SUMS from the same release
sha256sum -c SHA256SUMS --ignore-missingmodels supports standalone agents, benchmarks, and mstatus commands via symlinks. This lets you type agents status instead of models agents status.
mkdir -p ~/.local/bin
ln -s $(which models) ~/.local/bin/agents
ln -s $(which models) ~/.local/bin/benchmarks
ln -s $(which models) ~/.local/bin/mstatusYou can also use models link to create all three symlinks automatically. Alias names are configurable via the [aliases] section in your config file (see Configuration).
Make sure ~/.local/bin is in your PATH:
-
bash/zsh: Add
export PATH="$HOME/.local/bin:$PATH"to your shell config -
fish: Run
fish_add_path ~/.local/bin
Generate completions for your shell:
models completions bash # bash
models completions fish # fish
models completions zsh # zshFollow your shell's instructions for installing completion files. For example, with fish:
models completions fish > ~/.config/fish/completions/models.fishRepository · Issues · Releases · brew install models · MIT License