Created
April 7, 2025 07:23
-
-
Save PleahMaCaka/55a1ec446a3a365fb04afb0dee1c1f3c to your computer and use it in GitHub Desktop.
This file contains hidden or 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/bash | |
# GitHub CLI | |
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \ | |
&& sudo mkdir -p -m 755 /etc/apt/keyrings \ | |
&& out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg \ | |
&& cat $out | 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 | |
# UV | |
curl -LsSf https://astral.sh/uv/install.sh | sh | |
echo "source $HOME/.local/bin/env" >> ~/.bashrc | |
source ~/.bashrc | |
# Tailscale | |
curl -fsSL https://tailscale.com/install.sh | sh | |
# Some tools for development | |
sudo apt install i2c-tools neovim btop | |
# Done! | |
echo | |
echo "Done!" | |
echo "To authorize, use \`gh auth login\` and \`sudo tailscale up\`." | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment