GH-LICENSES(1) GitHub CLI manual GH-LICENSES(1)

gh-licenses - View third-party license information

gh licenses [flags]

View license information for third-party libraries used in this build of the GitHub CLI.

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

gh(1)

Feb 2026