Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[workshop-sync] side-quest-06-01-install-troubleshooting.md: invalid gh extension install --hostname flag

Open Beginner friendly
#3,968 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
92/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
bash, github
Domain
cli, documentation

Research direction

Open workshop/side-quest-06-01-install-troubleshooting.md and inspect the GHES section around the gh extension install command. Check the current gh CLI syntax and the linked GHES support reference, then verify the instructions use a supported host-selection method and no longer include the invalid --hostname flag.

Written by the indexing model from the issue text.

Description

documentation

Workshop file reviewed

workshop/side-quest-06-01-install-troubleshooting.md

Problem

The GHES (GitHub Enterprise Server) section instructs learners to run:

gh extension install github/gh-aw --hostname ghes.example.com

This command is invalid. gh extension install does not accept a --hostname flag — verified against the current gh CLI (v2.98.0), whose only flags for gh extension install are --force and --pin. Running the command as written will fail with an unrecognized-flag error.

Current correct syntax

GHES targeting for gh extension install (and other gh subcommands that don't take an explicit hostname flag) is done by setting the GH_HOST environment variable (or by first running gh auth login --hostname <host>, which sets the default host for subsequent unscoped commands), not by passing --hostname directly to gh extension install. Reference: setup/cli — GitHub Enterprise Server support.

Suggested fix

Replace:

gh extension install github/gh-aw --hostname ghes.example.com

with something like:

export GH_HOST=ghes.example.com
gh extension install github/gh-aw

or simply rely on the host already set by the preceding gh auth login --hostname ghes.example.com call, and drop the unsupported --hostname flag from the gh extension install line.

Generated by 🔍 Workshop Sync Check · copilot · auto · 158.7 AIC · ⌖ 6.75 AIC · ⊞ 8.2K · ◷

  • expires on Sep 30, 2026, 8:58 AM UTC
Dominant language
JavaScript
Stars
51
Forks
23
Avg merge
8h 37m
Merged PRs (30d)
23

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from githubnext/gh-aw-workshop

All issues in githubnext/gh-aw-workshop

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.