gh 2.98.0-preview.2
dotnet tool install --global gh --version 2.98.0-preview.2
dotnet new tool-manifest
dotnet tool install --local gh --version 2.98.0-preview.2
#tool dotnet:?package=gh&version=2.98.0-preview.2&prerelease
nuke :add-package gh --version 2.98.0-preview.2
Packs the GitHub CLI for install-less, portable execution via ndnx/dnx.
Usage
ndnx gh repo list
dnx gh repo list
# installed
dotnet tool install gh && dotnet gh --version
dnx/ndnx 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
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.98.0-preview.2 | 0 | 8/26/2026 |
| 2.98.0-preview.1 | 39 | 8/25/2026 |