20251216T004850CET

This commit is contained in:
Sjaak van den Berg
2025-12-16 00:48:50 +01:00
parent cf8010653c
commit a75db3d264
3 changed files with 31 additions and 0 deletions

18
install-uv.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
DOWNLOAD_URL=https://github.com/astral-sh/uv/releases/download
UV_VERSION=0.9.17
curl --location \
${DOWNLOAD_URL}/${UV_VERSION}/uv-x86_64-unknown-linux-gnu.tar.gz \
--output /tmp/uv-x86_64-unknown-linux-gnu.tar.gz
curl --silent --location \
${DOWNLOAD_URL}/${UV_VERSION}/uv-x86_64-unknown-linux-gnu.tar.gz.sha256 \
| sha256sum --check
tar --extract --strip=1 --file /tmp/uv-x86_64-unknown-linux-gnu.tar.gz --directory /usr/local/bin
chown ghost:ghost /usr/local/bin/uv*
chmod +x /usr/local/bin/uv*