# gh auth on Server
## Metadata
**Status**:: #x
**Zettel**:: #zettel/permanent
**Created**:: [[2023-04-24]]
**Tags**:: #github #linux
**Topic**:: [[♯ Linux Workstation]]
## Synopsis
Run `gh auth login`.
Choose “Login with a web browser” for the question “How would you like to authenticate GitHub CLI?”
Copy the printed code and paste into [Device Activation](https://github.com/login/device) page.