gh-org

Manage GitHub organization information from the command line

TLDR

List organizations
$ gh org list
View organization
$ gh org view [orgname]
List organization members
$ gh api orgs/[orgname]/members

SYNOPSIS

gh org command [options]

DESCRIPTION

gh org manages GitHub organization information from the command line. It provides access to organization membership, details, and settings for organizations you belong to.The command enables viewing organization information without visiting github.com. For more complex organization management like team operations and member management, the gh api command provides full API access.

PARAMETERS

list

List organizations you belong to.
view ORGNAME
View organization details.
--help
Display help information.

INSTALL

sudo apt install gh
sudo dnf install gh
sudo pacman -S github-cli
sudo apk add github-cli
sudo zypper install gh
brew install gh
nix profile install nixpkgs#gh

CAVEATS

Available operations depend on your role in the organization. Some features require admin permissions. Full org management may need gh api.

HISTORY

gh org was added to the GitHub CLI to provide basic organization commands, complementing the repository and user management features.

SEE ALSO

gh(1), gh-repo(1)

RESOURCES

Documentation · Source code