Last active
September 18, 2026 01:28
-
-
Save t-ubukata/12f8015a81d198d841ace532ad501fa9 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/env bash | |
| set -u | |
| export DEBIAN_FRONTEND=noninteractive | |
| sudo apt update -y | |
| sudo apt install -y \ | |
| git \ | |
| g++ \ | |
| make \ | |
| gdb \ | |
| less \ | |
| vim \ | |
| neovim \ | |
| zsh \ | |
| ssh \ | |
| tmux \ | |
| global \ | |
| universal-ctags \ | |
| tree \ | |
| curl \ | |
| file \ | |
| clang-tools \ | |
| clang-format \ | |
| zip \ | |
| unzip \ | |
| man \ | |
| iproute2 \ | |
| jq \ | |
| shellcheck \ | |
| valgrind \ | |
| tzdata \ | |
| iputils-ping \ | |
| smartmontools \ | |
| dnsutils \ | |
| zoxide \ | |
| eza \ | |
| bat \ | |
| ripgrep \ | |
| fd-find \ | |
| fzf \ | |
| python3 \ | |
| python3-venv | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| curl -o- https://fnm.vercel.app/install | bash | |
| fnm install 24 | |
| curl -s "https://get.sdkman.io" | bash | |
| curl https://install.duckdb.org | bash | |
| # Terraform | |
| sudo apt-get update && sudo apt-get install -y gnupg software-properties-common | |
| wget -O- https://apt.releases.hashicorp.com/gpg | \ | |
| gpg --dearmor | \ | |
| sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg > /dev/null | |
| gpg --no-default-keyring \ | |
| --keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg \ | |
| --fingerprint | |
| echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(grep -oP '(?<=UBUNTU_CODENAME=).*' /etc/os-release || lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list | |
| sudo apt update | |
| sudo apt-get install terraform | |
| chsh -s /usr/bin/zsh | |
| git config --global user.name "Tomohiro Ubukata" | |
| git config --global user.email foo@bar.com | |
| git config --global push.default current | |
| git config --global init.defaultBranch main | |
| sudo ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment