Install dotnet

This commit is contained in:
Thomas Avé 2024-03-15 14:21:04 +01:00
parent ae25757f65
commit 90bb7dcaec
1 changed files with 5 additions and 1 deletions

View File

@ -45,8 +45,12 @@ if $NVIM; then
$SUDO apt install -y software-properties-common
$SUDO add-apt-repository ppa:neovim-ppa/unstable -y
$SUDO curl -sL https://deb.nodesource.com/setup_21.x | $SUDO bash -
declare repo_version=$(if command -v lsb_release &> /dev/null; then lsb_release -r -s; else grep -oP '(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"'; fi)
wget https://packages.microsoft.com/config/ubuntu/$repo_version/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
$SUDO dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
$SUDO apt update
$SUDO apt install -y $dependencies python3-venv nodejs golang fd-find
$SUDO apt install -y $dependencies python3-venv python3-pip nodejs golang fd-find cargo dotnet-sdk-8.0
fi
ln -s "$PWD"/nvim "$XDG_CONFIG_HOME"/nvim