Skip to content

Instantly share code, notes, and snippets.

@mccun934
Created January 15, 2026 04:53
Show Gist options
  • Select an option

  • Save mccun934/e30f30692fb256a57059f23f7015e80a to your computer and use it in GitHub Desktop.

Select an option

Save mccun934/e30f30692fb256a57059f23f7015e80a to your computer and use it in GitHub Desktop.
#!/bin/bash
# Exit on error
set -e
echo "=== Installing Node.js 23 ==="
curl -fsSL https://deb.nodesource.com/setup_23.x | sudo -E bash -
sudo apt-get install -y nodejs
echo "=== Installing Claude Code ==="
curl -fsSL https://claude.ai/install.sh | bash
echo "=== Installing GitHub CLI ==="
sudo apt-get install -y curl
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/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-get update
sudo apt-get install -y gh
echo "=== Installation Complete ==="
echo "Node version: $(node --version)"
echo "npm version: $(npm --version)"
echo "GitHub CLI version: $(gh --version | head -1)"
echo ""
echo "Run 'claude' to start Claude Code"
echo "Run 'gh auth login' to authenticate with GitHub"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment