You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
685 B
25 lines
685 B
#!/bin/bash |
|
set -euo pipefail |
|
|
|
echo "[1/4] Updating pacman and installing prerequisites (curl, base-devel, imagemagick, glow)..." |
|
sudo pacman -Syu --noconfirm |
|
sudo pacman -S --noconfirm curl base-devel imagemagick glow |
|
|
|
echo "[2/4] Downloading and installing rustup (latest rustc/cargo)..." |
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y |
|
|
|
rustup default stable |
|
|
|
echo "[3/4] Sourcing cargo environment..." |
|
source "$HOME/.cargo/env" |
|
|
|
echo " -> Installed: $(rustc --version)" |
|
echo " -> Installed: $(cargo --version)" |
|
|
|
echo "[4/4] Installing tools..." |
|
cargo install fsel@3.5.1-kiwicrab |
|
cargo install --force yazi-build |
|
cargo install resvg |
|
|
|
echo "Done!" |
|
|
|
|