32 lines
909 B
Markdown
32 lines
909 B
Markdown
# Setup
|
|
|
|
## macOS Or Linux
|
|
|
|
```bash
|
|
install/bootstrap.sh
|
|
```
|
|
|
|
## Windows
|
|
|
|
```powershell
|
|
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.
|
|
|
|
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.
|