-
Notifications
You must be signed in to change notification settings - Fork 3
Installation
Official releases are published at https://github.com/vorlie/ani-cli-rs/releases. Prebuilt assets are provided for Windows x64 and Linux x86-64. Linux ARM64 and macOS users build from source.
Open PowerShell and run:
Invoke-WebRequest https://raw.githubusercontent.com/vorlie/ani-cli-rs/master/scripts/install.ps1 -OutFile install.ps1
.\install.ps1
Remove-Item .\install.ps1The installer:
- reads the latest GitHub release;
- downloads the x64 Windows ZIP and its
.sha256file; - verifies SHA-256 using .NET cryptography, including on older PowerShell versions without
Get-FileHash; - installs
ani-cli-rs.exeto%USERPROFILE%\.local\binby default; - adds that directory to the user
PATHunless-NoPathUpdateis supplied.
Open a new terminal after installation so it receives the updated user PATH.
Custom directory:
.\install.ps1 -InstallDirectory "D:\Tools\bin"Skip the PATH update:
.\install.ps1 -NoPathUpdateIf the release contains the setup asset:
.\install.ps1 -UseSetupThis launches a per-user installer with an uninstall entry. It does not require administrator privileges. The portable and Setup installations use different installation management, so use the matching uninstall method.
curl -fsSL https://raw.githubusercontent.com/vorlie/ani-cli-rs/master/scripts/install.sh -o install.sh
sh install.sh
rm install.shThe script installs the official Linux x86-64 archive, verifies its published SHA-256 checksum, installs to $HOME/.local/bin by default, and adds that directory to $HOME/.profile when needed. On Linux ARM64 it exits with source-build instructions because no official ARM64 asset is published.
Custom locations:
ANI_CLI_RS_INSTALL_DIR="$HOME/bin" ANI_CLI_RS_PROFILE="$HOME/.bashrc" sh install.shOfficial Linux archives use musl so one release can work across common distributions such as Ubuntu, Debian, Arch, Fedora, and Alpine. Kernel and CPU architecture compatibility still apply.
Linux ARM64 is source-buildable but is not device-tested by the maintainer and has no official release archive:
git clone https://github.com/vorlie/ani-cli-rs.git
cd ani-cli-rs
cargo build --release --lockedThe local cargo release-linux-arm64 alias is intended for contributors with a suitable cross-linker or ARM64 build environment; its existence does not indicate an official binary.
No official macOS release assets are provided. Install the Rust toolchain and build locally:
git clone https://github.com/vorlie/ani-cli-rs.git
cd ani-cli-rs
cargo build --release --lockedThe binary is placed at target/release/ani-cli-rs. Copy it to a directory on your PATH if desired.
Install a current stable Rust toolchain, then:
git clone https://github.com/vorlie/ani-cli-rs.git
cd ani-cli-rs
cargo build --release --lockedWindows output: target\release\ani-cli-rs.exe
Unix output: target/release/ani-cli-rs
Rust edition 2024 requires a recent toolchain. If Cargo says the edition2024 feature is unavailable, update through rustup and verify that the rustup binaries appear before a distribution-installed /usr/bin/cargo in PATH.
Portable Windows:
Invoke-WebRequest https://raw.githubusercontent.com/vorlie/ani-cli-rs/master/scripts/uninstall.ps1 -OutFile uninstall.ps1
.\uninstall.ps1
Remove-Item .\uninstall.ps1Linux:
curl -fsSL https://raw.githubusercontent.com/vorlie/ani-cli-rs/master/scripts/uninstall.sh -o uninstall.sh
sh uninstall.sh
rm uninstall.shFor an Inno Setup installation, use Windows Installed Apps or the generated uninstaller.
ani-cli-rs --version
ani-cli-rs --helpIf the command is not found, see Troubleshooting: installed but not found.