---
name: "gh-repo-license"
section: "1"
platform: "linux"
package: "github-cli"
version: "2.102.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gh-repo-license"
---

# gh-repo-license(1)

Explore repository licenses

## NAME

gh-repo-license - Explore repository licenses

## SYNOPSIS

**gh repo license \<command\> \[flags\]**

## AVAILABLE COMMANDS

- **[gh-repo-license-list(1)](/gh-repo-license-list/1.md)**

  List common repository licenses

- **[gh-repo-license-view(1)](/gh-repo-license-view/1.md)**

  View a specific repository license

## EXIT CODES

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.

## SEE ALSO

**[gh-repo(1)](/gh-repo/1.md)**
