Skip to content

Instantly share code, notes, and snippets.

@pkbullock
Created October 7, 2020 20:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkbullock/1f2d42a8b0748814dd077b050b9d9036 to your computer and use it in GitHub Desktop.
Save pkbullock/1f2d42a8b0748814dd077b050b9d9036 to your computer and use it in GitHub Desktop.
wget https://dotnet.microsoft.com/download/dotnet-core/scripts/v1/dotnet-install.sh
chmod +x dotnet-install.sh
# Ignore warnings
./dotnet-install.sh --channel LTS --architecture arm --install-dir ~/cli
# Allows running dotnet anywhere - thanks to
# this article https://edi.wang/post/2019/9/29/setup-net-core-30-runtime-and-sdk-on-raspberry-pi-4
sudo nano .profile
export DOTNET_ROOT=$HOME/cli
export PATH=$PATH:$HOME/cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment