Skip to content

Instantly share code, notes, and snippets.

@antstanley
Last active April 7, 2026 09:39
Show Gist options
  • Select an option

  • Save antstanley/2fb19f038ca984093954c7e3f0d508ae to your computer and use it in GitHub Desktop.

Select an option

Save antstanley/2fb19f038ca984093954c7e3f0d508ae to your computer and use it in GitHub Desktop.
Setup an Amazon Linux 2023 box to run Claude Code for development (works with x86_64 and aarch64)
sudo dnf update
# Setup ZSH
sudo dnf install -y git
sudo dnf install -y zsh
sudo dnf install -y util-linux-user
sudo chsh -s $(which zsh) $(whoami)
wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
CHSH=yes zsh install.sh
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
sed -i 's/(git)/(git zsh-autosuggestions zsh-syntax-highlighting)/g' ~/.zshrc
source ~/.zshrc
# Setup Github CLI
sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
sudo dnf install -y gh
# Setup tmux
sudo dnf install -y tmux
# Setup Rust/Cargo via rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
echo 'export PATH="$PATH:$HOME/.cargo/bin"' >> ~/.zshrc
source ~/.zshrc
rustup --version
# Setup NodeJS via nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | sh
source ~/.zshrc
nvm install 24
# Setup jj (requires cargo binstall and Rust)
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo binstall -y --disable-telemetry --strategies crate-meta-data jj-cli
# Setup latest stable python and uv
sudo dnf install -y python3.14 python3.14-pip
echo 'alias python=python3.14' >> ~/.zshrc
echo 'alias pip=pip3.14' >> ~/.zshrc
curl -LsSf https://astral.sh/uv/install.sh | zsh
source ~/.zshrc
# Optional other stuff if you're going to be compiling binaries
sudo dnf groupinstall -y "Development Tools"
# Setup Claude Code
curl -fsSL https://claude.ai/install.sh | zsh
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment