mirror of
https://github.com/vale981/apheleia
synced 2025-03-05 09:31:40 -05:00
5 lines
241 B
Bash
5 lines
241 B
Bash
ver="$(latest_release rust-lang/rustfmt | sed 's/^v//')"
|
|
|
|
wget "https://github.com/rust-lang/rustfmt/releases/download/v${ver}/rustfmt_linux-x86_64_v${ver}.tar.gz" -O rustfmt.tar.gz
|
|
tar -xf rustfmt.tar.gz
|
|
cp rustfmt*/rustfmt /usr/local/bin/
|