glab auth login

Category: GitLab

glab auth login

Sign in to GitLab from the terminal

Walks you through connecting glab to gitlab.com or a self-hosted instance and stores your credentials locally. You can paste a personal access token or complete a browser-based flow, depending on your setup. Confirm the active account with glab auth status afterward.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.