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: git.doit.wisc.edu

Press enter to use git.doit.wisc.edu as the API hostname

For your authentication type, select Token

Similar to setting up the cs400 cli, create a new gitlab token at git.doit.wisc.edu/-/profile/personal_access_tokens 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 git.doit.wisc.edu

And you're done!

Using glab