diff --git a/README.md b/README.md index e027554..cacf3bd 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,23 @@ ### https://github.com/sn4k3/UVtools/releases/latest -## To auto install on Windows via a package manager: +## To auto install on Windows (package manager): - **Winget:** `winget install -e --id PTRTECH.UVtools` - **Chocolatey:** `choco install -y uvtools` **Note:** Winget is included on Windows 10 with recent updates and Windows 11 by default. -## To auto install on MacOS via homebrew: +## To auto install on Linux: + +```bash +[[ "$(command -v apt-get)" && ! "$(command -v wget)" ]] && sudo apt-get install -y wget +[[ "$(command -v pacman)" && ! "$(command -v wget)" ]] && sudo pacman -S wget +[[ "$(command -v yum)" && ! "$(command -v wget)" ]] && sudo yum install -y wget +wget -qO - https://raw.githubusercontent.com/sn4k3/UVtools/master/Scripts/install-uvtools.sh | bash +``` + +## To auto install on MacOS (homebrew): ```bash [[ ! "$(command -v brew)" ]] && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" @@ -267,9 +276,9 @@ The following commands are the old way and commands under the UI executable, the **Copy the following script, paste and run on a terminal:** ```bash -[[ "$(command -v apt-get)" ]] && sudo apt-get install -y wget -[[ "$(command -v pacman)" ]] && sudo pacman -S wget -[[ "$(command -v yum)" ]] && sudo yum install -y wget +[[ "$(command -v apt-get)" && ! "$(command -v wget)" ]] && sudo apt-get install -y wget +[[ "$(command -v pacman)" && ! "$(command -v wget)" ]] && sudo pacman -S wget +[[ "$(command -v yum)" && ! "$(command -v wget)" ]] && sudo yum install -y wget wget -qO - https://raw.githubusercontent.com/sn4k3/UVtools/master/Scripts/install-dependencies.sh | sudo bash wget -qO - https://raw.githubusercontent.com/sn4k3/UVtools/master/Scripts/libdl-solver.sh | sudo bash ```