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.
 
 
 
 

28 lines
728 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 || true
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
sudo snap install glow
echo "Done!"