Files
warp/script/install_cargo_binstall
2026-04-28 08:43:33 -05:00

13 lines
369 B
Bash
Executable File

#!/usr/bin/env bash
#
# Installs cargo-binstall if not present, or updates it if already installed.
# This script should be platform-agnostic (eg. no unix-only references like /dev/null).
# Install cargo-binstall, then/or use it to update itself.
if ! command -v cargo-binstall; then
cargo install cargo-binstall@1.14.3 --locked
fi
cargo binstall cargo-binstall