Skip to content

Instantly share code, notes, and snippets.

@ascarter
Created September 13, 2026 19:52
Show Gist options
  • Select an option

  • Save ascarter/e082745021503278734fb3cb2a015c52 to your computer and use it in GitHub Desktop.

Select an option

Save ascarter/e082745021503278734fb3cb2a015c52 to your computer and use it in GitHub Desktop.
mise bootstrap setup script
#!/bin/sh
set -eu
MISE_BIN="${MISE_BIN:-${XDG_BIN_HOME:-${HOME}/.local/bin}/mise}"
export MISE_CACHE_DIR="${MISE_CACHE_DIR:-${XDG_CACHE_HOME:-${HOME}/.cache}/mise}"
curl https://mise.run | sh
"${MISE_BIN}" exec gh -- gh auth login --hostname github.com --git-protocol https --web
"${MISE_BIN}" exec gh -- gh auth setup-git --hostname github.com
"${MISE_BIN}" bootstrap --adopt ascarter/setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment