Installing glab

First, install Homebrew using the one-liner on the frontpage.

Then, install glab using brew install glab

example using glab cli to clone a repo

Setup glab

Run glab auth login and select GitLab Self-hosted Instance

Enter the following details:

Gitlab hostname:

Press enter to use as the API hostname

For your authentication type, select Token

Similar to setting up the cs400 cli, create a new gitlab token at and paste it when prompted.

Choose HTTPS as the Git protocol and the API protocol

if stuff isn't working, it might be worth it to try glab config set --global host

And you're done!

Using glab