Skip to content
Discussion options

You must be logged in to vote

Requirements for local install

Folder name – must be gh- (e.g. gh-myext).
Executable name – must match the folder name.

Run from inside the folder: cd gh-myext then gh extension install .

Windows and gh-myext.exe

On Windows, gh looks for a file named gh-myext (no .exe), but you have gh-myext.exe. Use a symlink:

cd gh-myext
mklink gh-myext gh-myext.exe
(Needs Administrator or Developer Mode.)

Then run:

gh extension install .
Note: Older gh versions (before v2.3.0) had issues with .exe on Windows. Make sure you're on a recent version: gh --version.

Alternative: install from GitHub

If the extension is on GitHub, install it directly:

gh extension install owner/gh-myext
gh will download the co…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@akordowski
Comment options

Answer selected by akordowski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants