# 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 specific host
$ gh auth login --hostname enterprise.internal