Skip to content

Instantly share code, notes, and snippets.

View bhativ1's full-sized avatar

Vivek Bhatia bhativ1

View GitHub Profile
@bhativ1
bhativ1 / bootstrap.sh
Last active May 15, 2026 14:40
Bootstrap a bare Ubuntu x86_64 machine with gh CLI, Node 20 LTS, and Claude Code
#!/usr/bin/env bash
# Bootstrap a bare Ubuntu x86_64 machine with: gh CLI, Node 20 LTS, Claude Code.
# Idempotent — safe to re-run on a partially-configured machine.
# On OB workstations, gh and conda are pre-installed; those steps no-op automatically.
#
# Usage: bash bootstrap.sh
set -euo pipefail
log() { echo "$*"; }