Last active
September 3, 2024 23:56
-
-
Save EgorBo/20f3f7405f2dd455718b78ae1f1d1984 to your computer and use it in GitHub Desktop.
InstallDotnetLinux.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://dot.net/v1/dotnet-install.sh -O ~/dotnet-install.sh | |
chmod +x ~/dotnet-install.sh | |
~/./dotnet-install.sh -Channel "8.0" -InstallDir ~/dotnet | |
~/./dotnet-install.sh -Channel "9.0" -InstallDir ~/dotnet | |
echo -e '\nexport DOTNET_ROOT=~/dotnet\nexport PATH=$DOTNET_ROOT:$DOTNET_ROOT/tools:$PATH' >> ~/.bashrc | |
export DOTNET_ROOT=~/dotnet | |
export PATH=$DOTNET_ROOT:$DOTNET_ROOT/tools:$PATH | |
mkdir ~/crank_dotnethome | |
mkdir ~/crank_buildpath | |
mkdir ~/crank_logs | |
~/.dotnet/tools/crank-agent --url http://*:5001 --build-path ~/crank_buildpath --dotnethome ~/crank_dotnethome --log-path ~/crank_logs | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment