# start interactive setup $ gh auth login # authenticate against github.com by reading the token from a file $ gh auth login --with-token < mytoken.txt # authenticate with a specific GitHub instance $ gh auth login --hostname enterprise.internal