LinuxCommandLibrary

gh-org

Manage GitHub organization information from the command line

TLDR

List organizations

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

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.

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community