Skip to content

Instantly share code, notes, and snippets.

View JustArchi's full-sized avatar
😎
Fixing things that are not broken

Łukasz Domeradzki JustArchi

😎
Fixing things that are not broken
View GitHub Profile
@JustArchi
JustArchi / get-dotnet.sh
Last active November 11, 2025 16:05
Script intended for environments without dotnet installer available, to easily and quickly install/update .NET SDK
#!/usr/bin/env sh
set -eu
# Main version for SDK and runtime
MAIN_VERSION="10.0"
# Installation directory
INSTALL_DIR="/usr/share/dotnet"
# If you need additional runtimes, specify their versions here separated by space, such as "9.0 8.0"