Skip to content

Docs: Add guide for installing gh CLI, OAuth login, and PATH setup #45

Description

@thepagent

Documentation Improvement

Proposed file: doc/gh-cli-setup.md

1. Installing gh CLI and persisting the OAuth token

  • Download the GitHub CLI binary to $HOME/bin/gh
  • Run gh auth login --hostname github.com -p https --git-protocol https (device flow, no browser needed)
  • OAuth token is cached at ~/.config/gh/hosts.yml by default
  • Verify with gh auth status

2. Ensuring $HOME/bin is in $PATH

  • Add to ~/.bashrc:
    export PATH="$HOME/bin:$PATH"
  • This ensures gh (and any other tools in ~/bin) are available in all sessions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions