Skip to content

Instantly share code, notes, and snippets.

@Antman261
Created January 27, 2025 01:56
Show Gist options
  • Save Antman261/5d8e551f88114e98ebe93b5e25d667e9 to your computer and use it in GitHub Desktop.
Save Antman261/5d8e551f88114e98ebe93b5e25d667e9 to your computer and use it in GitHub Desktop.
Install brew and GitHubCLI
(hash brew 2>/dev/null || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)") && (hash gh 2>/dev/null || brew install gh) && ([[ "$(gh auth status)" == *"Logged in"* ]] || gh auth login)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment