Last active
May 31, 2023 01:23
-
-
Save niko-dunixi/7ba14c0beec17f08dd027fb97887eafe to your computer and use it in GitHub Desktop.
setup the favdev trinity
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
#!/usr/bin/env bash | |
set -euxo pipefail | |
# Base system | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
# Git | |
git config --global user.name 'Niko Dunixi [He/Him]' | |
git config --global user.email '[email protected]' | |
git config --global init.defaultBranch main | |
# GoLang | |
curl -JL 'https://go.dev/dl/go1.19.3.linux-amd64.tar.gz' -o /tmp/golang.tar.gz | |
sudo rm -rf /usr/local/go | |
sudo tar -C /usr/local -xzf /tmp/golang.tar.gz | |
export PATH="${PATH}:/usr/local/go/bin" | |
go install github.com/spf13/cobra-cli@latest | |
# Node | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash | |
nvm install v18.12 | |
nvm use v18.12 | |
# Rust | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
sudo apt-get install -y build-essential |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment