Skip to main content
Any Framework

Execute the bundled GitHub CLI. ndx gh / dnx gh / dotnet gh.

Published
Oct 4, 2026
19d ago
Total Downloads
337
337

Install

dotnet add package gh.linux-x64 --version 2.102.0-preview

No framework information available.

README

EULA OSS GitHub

Packs the GitHub CLI for install-less, portable execution via ndx/dnx.

Usage

ndx gh repo list
dnx gh repo list

# installed
dotnet tool install gh && dotnet gh --version

dnx/ndx use the package id gh. An installed tool is dotnet gh (ToolCommandName dotnet-gh) so it does not replace GitHub's native gh on PATH.

PackageReference gh.cli and pack/publish for your RID to copy gh/ next to the app. GitHub.Cli.ResolvePath() is the Payload gh executable.

Open Source Maintenance Fee

To ensure the long-term sustainability of this project, users of this package who generate revenue must pay an Open Source Maintenance Fee. While the source code is freely available under the terms of the License, this package and other aspects of the project require adherence to the Maintenance Fee.

To pay the Maintenance Fee, become a Sponsor at the proper OSMF tier. A single fee covers all of Devlooped packages.

Sponsors

Clarius Org MFB Technologies, Inc. SandRock DRIVE.NET, Inc. Keith Pickford Thomas Bolon Reuben Swartz Jacob Foshee Eric Johnson Jonathan Ken Bonny Simon Cropp agileworks-eu Zheyu Shen Vezel ChilliCream 4OTC domischell Adrian Alonso torutek Ryan McCaffery Seika Logiciel Andrew Grant eska-gmbh Geodata AS

Sponsor this project

Learn more about GitHub Sponsors

Changes from Previous Version

No structural changes between v2.101.0-preview and v2.102.0-preview.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.