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
663 B
25 lines
663 B
#!/bin/bash |
|
set -euo pipefail |
|
|
|
echo "[1/4] Updating apt and installing prerequisites (curl, build-essential)..." |
|
sudo apt update -qq |
|
sudo apt install -y curl build-essential imagemagick |
|
|
|
sudo ln -s /usr/bin/convert /usr/bin/magick |
|
|
|
echo "[2/4] Downloading and installing rustup (latest rustc/cargo)..." |
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y |
|
|
|
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 |
|
cargo install yazi |
|
cargo install glow |
|
cargo install resvg |
|
|
|
echo "Done!"
|
|
|