Last active
October 4, 2024 07:53
-
-
Save osbyrne/93471e7b80edd6370c9c3a8d33cc7117 to your computer and use it in GitHub Desktop.
shell scripts to install tools prerequisite to programming in my developer environment. All commented with sources to docs.
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
# brew | |
# https://www.brew.sh/ | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# gh | |
# https://github.com/cli/cli/blob/trunk/docs/install_linux.md | |
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \ | |
&& sudo mkdir -p -m 755 /etc/apt/keyrings \ | |
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \ | |
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \ | |
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \ | |
&& sudo apt update \ | |
&& sudo apt install gh -y | |
# note: to upgrade gh, run: | |
sudo apt update | |
sudo apt install gh | |
# devbox | |
# https://www.jetify.com/devbox/docs/installing_devbox/ | |
curl -fsSL https://get.jetify.com/devbox | bash | |
# code server (to use ./code tunnel) | |
curl -Lk 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' --output vscode_cli.tar.gz | |
tar -xf vscode_cli.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment