-
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, tested macOS, and tested Termux 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. The source build and automatic IINA selection have been tested. 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.
IINA is the default player on macOS. Install it with brew install --cask iina and ensure its iina command is on PATH.
Termux source builds are tested, but no Android release binary is published. Install a current Termux build from a trusted source, then run:
pkg update
pkg install rust
git clone https://github.com/vorlie/ani-cli-rs.git
cd ani-cli-rs
cargo build --release --locked
install -Dm755 target/release/ani-cli-rs "$PREFIX/bin/ani-cli-rs"Install an Android HLS-capable video player such as mpv-android or VLC. Do not use pkg install vlc for this integration: that installs a terminal VLC build rather than the Android application.
Run ani-cli-rs "title" to request mpv-android or ani-cli-rs --vlc "title" to request Android VLC. ani-cli-rs searches for termux-am-starter, termux-am, and am, in that order. If the explicit activity bridge is incompatible with the installed Termux app, it falls back to termux-open with the stream's media type, then termux-open-url. On this fallback path Android's chosen/default media handler takes precedence, so --vlc cannot guarantee VLC. ANI_CLI_PLAYER can override the activity-launcher executable if a device requires a different path.
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.