cli-config.json용 Agent CLI 구성 레퍼런스
cli-config.json
파일로 Agent CLI를 설정해.
유형 | 플랫폼 | 경로 |
---|---|---|
전역 | macOS/Linux | ~/.cursor/cli-config.json |
전역 | Windows | $env:USERPROFILE\.cursor\cli-config.json |
프로젝트 | 전체 | <project>/.cursor/cli.json |
CURSOR_CONFIG_DIR
: 사용자 지정 디렉터리 경로XDG_CONFIG_HOME
(Linux/BSD): $XDG_CONFIG_HOME/cursor/cli-config.json
사용필드 | 타입 | 설명 |
---|---|---|
version | number | 구성 스키마 버전(현재: 1 ) |
editor.vimMode | boolean | Vim 키바인딩 활성화(기본값: false ) |
permissions.allow | string[] | 허용되는 작업(자세한 내용: Permissions) |
permissions.deny | string[] | 금지되는 작업(자세한 내용: Permissions) |
필드 | 타입 | 설명 |
---|---|---|
model | object | 선택된 모델 구성 |
hasChangedDefaultModel | boolean | CLI에서 관리하는 기본 모델 재정의 플래그 |
.bad
로 백업되고 다시 생성됨