inspector/install.sh

25 lines
688 B
Bash
Executable File

#!/usr/bin/env bash
# system dependencies
sudo apt update
# workflow - just git
if grep -q "Debian GNU/Linux 13" /etc/os-release; then
sudo apt install -y just
else
echo "Skipping 'just' installation - not running on Debian 13"
fi
# hardware/bios - inxi dmidecode
# cli performance tools - htop speedometer iostat sysstat
sudo apt install -y dmidecode dstat git htop lshw inxi speedometer sysstat
# Install rye if not found
if ! command -v uv &> /dev/null
then
echo "uv not found, installing..."
# The official rye installation script
curl -LsSf https://astral.sh/uv/install.sh | env UV_NO_MODIFY_PATH=1 sh -s -- --quiet
else
echo "uv is already installed."
fi