Skip to content

Instantly share code, notes, and snippets.

@eat-sleep-code
Created December 30, 2023 17:11
Show Gist options
  • Save eat-sleep-code/bfb978b5a88fc54ac8330c1231c0a04e to your computer and use it in GitHub Desktop.
Save eat-sleep-code/bfb978b5a88fc54ac8330c1231c0a04e to your computer and use it in GitHub Desktop.
A few setup steps when setting up a Raspberry Pi OS desktop
# SETUP .bash_aliases FILE FIRST FOR UPDATE SHORTCUTS
cd ~
sudo apt install -y ca-certificates curl gnupg build-essential
# Install VS Code
cd ~
sudo apt install code
# Install .NET (Update version below)
cd ~
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 8.0.100
echo 'export DOTNET_ROOT=$HOME/.dotnet' >> ~/.bashrc
echo 'export PATH=$PATH:$HOME/.dotnet' >> ~/.bashrc
source ~/.bashrc
dotnet --list-sdks
dotnet --list-runtimes
# Install Node.js (Update version below)
cd ~
NODE_MAJOR=21
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/nodesource.gpg
echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
# Make directory for fonts
cd ~
mkdir .fonts
# Get SF Pro from here: https://www.cufonfonts.com/font/sf-pro-display
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment