Junie Help

GitHub Copilot

GitHub Copilot lets you use your existing GitHub Copilot subscription to power Junie CLI. Unlike other BYOK providers that require an API key, GitHub Copilot authenticates through the GitHub Copilot CLI installed on your machine — Junie CLI reuses its sign-in and resolves the available models and endpoint from it.

Prerequisites

  • GitHub Copilot CLI: the GitHub Copilot CLI must already be installed on your local machine, version 1.0.65 or newer. Older versions lack the methods Junie CLI relies on and will be reported as outdated.

  • Signed-in CLI with an active subscription: the Copilot CLI must be signed in with a GitHub account that has an active GitHub Copilot subscription (Individual, Business, or Enterprise). To sign in, run copilot in a terminal and authenticate.

  • Enabled models: the models you want to use must be explicitly enabled in your GitHub Copilot settings. Go to github.com/settings/copilot and enable the desired models under the Models section. Models that are not enabled on the website will not be available in Junie CLI.

Set up GitHub Copilot in Junie CLI

  1. Start Junie CLI in your project directory:

    junie
  2. Run the /account command and select the BYOK option. If you have not added any API keys yet, it is labeled Use your own API key (OpenAI, Anthropic, Google, xAI, OpenRouter, GitHub Copilot); if you already have keys configured, it is labeled Manage your API keys.

Select Manage your API keys
  1. Select GitHub Copilot from the provider list.

Select Manage your API keys
  1. Make sure GitHub Copilot is Enabled on the provider page. Junie CLI reuses the sign-in from your local Copilot CLI, so no separate sign-in step is required here.

Select Manage your API keys
  1. Return to Junie CLI in the terminal — the connection is now active.

Select a model

Once connected, run /model to see and switch between the available models:

Select Manage your API keys

Models marked with GitHub Copilot GitHub Account are available through your Copilot subscription.

25 August 2026