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"
@amityotis

amityotis commented Jul 2, 2026 •

Copy link
Copy Markdown

A clean and straightforward bootstrap script for setting up an AI-driven development environment. Upgrading directly to Node.js 23 ensures compatibility with the latest packages, and coupling it with Claude Code and GitHub CLI creates a seamless workflow right inside the terminal. Saved me a few minutes of copy-pasting commands. Thanks for sharing!
Agario

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment