Skip to content

Instantly share code, notes, and snippets.

@atulkamble
Last active April 4, 2022 06:52
Show Gist options
  • Save atulkamble/a7beb789f95282285c30ee8ae4b9b8fa to your computer and use it in GitHub Desktop.
Save atulkamble/a7beb789f95282285c30ee8ae4b9b8fa to your computer and use it in GitHub Desktop.
Installing gh on Linux and BSD | Website: https://github.com/cli/cli
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment