cuz I always forget how to.
- curl
curl -fsSL https://dot.net/v1/dotnet-install.sh -o dotnet-install.shchmod +x dotnet-install.sh./dotnet-install.sh --version {version_here}Dotnet should install to ~/.dotnet directory.
Open the config file:
nano ~/.bashrcAdd these lines to the end of it:
export DOTNET_ROOT="$HOME/.dotnet"
export PATH="$HOME/.dotnet:$PATH"dotnet --versionit should result in:
{version_here}