Skip to content

Instantly share code, notes, and snippets.

@shanedolley
shanedolley / bootstrap.ps1
Last active March 2, 2026 04:53
Dolche Ventures OpenCode Setup - One-Line Installer
# Dolche Ventures OpenCode Setup — One-Line Bootstrap (Windows)
# Usage (cmd.exe): powershell -ExecutionPolicy Bypass -Command "irm https://gist.githubusercontent.com/shanedolley/1868970117ea5dad8fbb9a5052ef6e7d/raw/bootstrap.ps1 | iex"
# Usage (PowerShell): irm https://gist.githubusercontent.com/shanedolley/1868970117ea5dad8fbb9a5052ef6e7d/raw/bootstrap.ps1 | iex
#
# This script is hosted as a public GitHub Gist because the setup repo is private.
# It installs git + GitHub CLI, authenticates the user, clones the private repo,
# and runs the full installer (which sets up OpenCode, symlinks, config, API key, and IDE).
# Use "Continue" globally — native executables (git, gh) write to stderr
# which PowerShell treats as terminating errors under "Stop". We check