Skip to main content
Skip to content

Changing settings with the /settings command

Customize the interface and behavior of GitHub Copilot CLI to suit your workflow and repositories.

Use the /settings slash command in an interactive session to display the settings dashboard, where you can browse configuration areas, find settings, and change their values.

The settings dashboard has a sidebar where you can choose from a thematically grouped collection of settings. When you select a collection, the main pane displays the settings or resources for that collection. In a narrow window, you see one pane at a time.

Note

Settings always apply to Copilot CLI on your own machine. If you connect to a session that runs somewhere else—such as a cloud environment or a session you join with copilot --connect—any changes you make using the /settings command are saved to the settings files on your machine, in the scope you choose. In this situation, changes do not affect the session you are connected to, which uses the settings on the machine where it runs. While you are connected, some areas, such as the lists of installed MCP servers and plugins, are not available in the settings dashboard.

Opening the settings dashboard

  1. Enter /settings:

    Copilot prompt
    /settings
    
  2. In the sidebar, use ↑ and ↓ to select an area. For example, under Interface, select Timeline. Press Enter to move into its settings pane.

  3. Select a setting, such as renderMarkdown, and press Enter to change it. Boolean settings cycle between enabled, disabled, and unset. Other editable values open an editor or a list of choices.

Settings are saved as you change them. Many changes take effect immediately. If you do not know which area contains a setting, select All settings under Maintenance.

Areas under Capabilities, such as MCP servers, show the items you can manage, such as installed servers. Some also have a Settings view. When navigating those views, use ← and → to switch between them. Some other areas, such as Account, open a separate dialog when you press Enter.

The available keyboard actions depend on which pane has focus:

KeyAction and context
↑ / ↓Move between areas in the sidebar, or between settings in a settings list.
Enter / Tab / →From the sidebar, enter the selected area.
EnterIn a settings list, change the selected boolean setting or open its value editor.
Ctrl+RIn a settings list, remove the selected setting's saved value from the current scope. An inherited value or default can then apply.
Ctrl+EIn a settings list, open the current scope's settings file in your editor.
EscBack out of editing or search, then return to the sidebar (or search results). From the sidebar, close the dashboard.

Finding a setting or configuration area

Use global search when you do not know where to find a setting or resource:

  1. With the sidebar focused, press /.
  2. Type a search term. Results include visible settings, configuration areas, and local resources, such as installed plugins.
  3. Use ↑ and ↓ to select a result, then press Enter to open it.

When you return from a result, the search remains open. Press Esc to clear the query, then press Esc again to return to the sidebar.

Pressing / inside a settings list instead filters that list by setting name or description.

You can open some areas directly with /config. For example, /config mcp opens MCP servers. Bare /config opens the same dashboard as /settings, and it also supports the inline settings forms described below.

Choosing where to save a setting

The settings lists in the dashboard open in the User scope by default. A scope determines which settings file you are viewing and where your changes are saved. The dashboard can edit settings in three files:

ScopeSettings filePurpose
User~/.copilot/settings.json by defaultYour personal defaults across repositories.
Repo.github/copilot/settings.jsonSettings for everyone working in this repository. Commit this file to share them.
Repo (local).github/copilot/settings.local.jsonYour personal settings for this repository only. Add this file to .gitignore so you do not share them.

The repository file paths are relative to the repository's root directory. You do not need to create all three files before using the dashboard.

Areas with settings that can be changed for a repository show a Scope selector above the settings list. While navigating the list, press Tab or Shift+Tab to switch between User, Repo, and Repo (local). Other areas offer only User settings.

Each scope shows its own saved values, not a combined view of all three files. Changing or resetting a setting affects only the selected scope's file. Switching scopes does not change which settings the CLI uses.

For settings such as includeCoAuthoredBy, a value saved in Repo (local) takes precedence over Repo, which takes precedence over User. Changing your User value does not remove a repository override. Some settings combine restrictions instead. For example, a repository's list of disabled skills adds to your personal list rather than replacing it.

If a setting is also saved in another scope, its row shows a label in the Modified in column to the right of the value:

  • user, repo, or local identifies another scope where the setting is saved.
  • A leading !, such as !repo or !local, means that scope overrides the value in the scope you are viewing.

For example, if includeCoAuthoredBy is on in User and off in Repo, the User list still shows on, with !repo beside it. The repository value takes precedence. If you save a setting that another scope overrides, the confirmation message tells you that the value you saved is still overridden.

To change the repository value, switch to Repo. To remove it, select the setting in Repo and press Ctrl+R. Your User value then applies unless Repo (local) also sets it.

Settings locked by your organization or device management policy are labeled (managed) and cannot be changed here.

For the available settings and how configuration sources combine, see GitHub Copilot CLI configuration directory.

Changing individual settings

If you know a setting's name, you can use these forms in the interactive prompt box. Replace KEY with the setting name and VALUE with the value to save.

CommandAction
/settings KEY VALUESave a value. For example, /settings autoUpdate off.
/settings show KEYPrint the current value. For example, /settings show theme. Secret values, such as tokens, are masked.
/settings unset KEYRemove the saved value so an inherited value or default can apply. For example, /settings unset autoUpdate.
/settings KEYOpen a focused editor for a setting. /settings theme and /settings model open dedicated pickers. For a group of settings, such as sidebar, print their values instead.

As you enter a command, the CLI suggests setting names and supported boolean or enum values.

  • Boolean settings accept on/off or true/false.
  • Settings with fixed choices accept one of those values. For example, /settings theme dim.
  • Nested settings use a dotted path. For example, /settings footer.showBranch off.

Inline changes target your user settings by default. To set, show, or unset a repository-overridable setting in another scope, add --repo or --local. For example:

Copilot prompt
/settings --repo includeCoAuthoredBy false

The scope options require a setting command. They do not open the dashboard in that scope.

Resolving settings problems

Some settings, such as experimental and proxy settings, require a restart to take full effect. Follow the CLI's restart guidance when you change them.

Lists, other structured values, and some security-sensitive settings cannot be changed inline. Change these settings in the dashboard instead, or press Ctrl+E in a settings list to edit the settings file directly. If the file opens in an external editor, follow the CLI's guidance about reloading or restarting after saving.

If a startup warning reports configuration problems, or a setting does not behave as expected:

  1. Enter /config problems to open Problems under Maintenance, then press Enter to move into the problems list.

  2. Select a reported problem, such as an unknown key or invalid value, and read its details.

  3. Fix the problem:

    • To remove an unknown key, press Enter, then press Enter again to confirm.
    • To edit the file that contains the problem, press Ctrl+E. Correct the reported issue, save the file, and reopen the dashboard to check it again.

Further reading