1.0 KiB
1.0 KiB
Setup
macOS Or Linux
install/bootstrap.sh
Windows
install/bootstrap.ps1
What Bootstrap Does
- Creates a canonical path at
~/.copilot-resources - Links default discovery locations back to this repository
- Merges only the managed Copilot-related VS Code settings into the user settings file
- Writes a managed Copilot CLI environment fragment and sources it from the shell or PowerShell profile
- Writes a local install-state file outside the repository
Optional Settings
Bootstrap renders and merges the managed keys from
config/vscode/settings.template.jsonc into the user settings file. Existing
unmanaged VS Code settings are preserved, and the merge updates the managed keys
in place so existing JSONC comments and surrounding formatting stay intact where
possible.
Bootstrap also writes a managed Copilot CLI environment file into the local state directory and adds a small managed source block to the active shell or PowerShell profile instead of replacing the whole profile.