Github CLI

Install Github CLI

bash
1
sudo apt install gh

On your profile settings page access Developer Settings and create a Fine-grained personal access token. Use it to login

bash
1
2
3
echo "token" > github.token
gh auth login --with-token < github.token
gh auth status