GitHub CLI 2 · Setup and repositories

Check the gh version

Print the installed GitHub CLI version.

gh --version

Official GitHub CLI 2 documentation

More setup and repositories commands

All setup and repositories commands · GitHub CLI 2 cheatsheet

Was this page helpful?