Install dotnet
This commit is contained in:
parent
ae25757f65
commit
90bb7dcaec
|
@ -45,8 +45,12 @@ if $NVIM; then
|
||||||
$SUDO apt install -y software-properties-common
|
$SUDO apt install -y software-properties-common
|
||||||
$SUDO add-apt-repository ppa:neovim-ppa/unstable -y
|
$SUDO add-apt-repository ppa:neovim-ppa/unstable -y
|
||||||
$SUDO curl -sL https://deb.nodesource.com/setup_21.x | $SUDO bash -
|
$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 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
|
fi
|
||||||
|
|
||||||
ln -s "$PWD"/nvim "$XDG_CONFIG_HOME"/nvim
|
ln -s "$PWD"/nvim "$XDG_CONFIG_HOME"/nvim
|
||||||
|
|
Loading…
Reference in New Issue