Set up a runtime, provider credentials, and each engine CLI for the CC GUI desktop app.
After you install the app, you still need at least one working AI runtime and a project workspace.
1. Understand the dependencies
The desktop app is a full application. You do not need VS Code or IDEA.Chat still depends on a local runtime:
If you want
You need
Claude Code
Follow the guide to install the CLI and configure it
Codex
Follow the guide to install the CLI and configure it
Kimi / Grok / OpenCode / Pi
The matching command on this machine, plus local config or a third-party provider
DeepSeek Harness
Start DSH locally and finish its setup
Open Settings → CLI configuration (providers) to see detect status and install notes. Available engines and Coming soon items appear in separate groups.
2. Configure CLI
Open Settings → CLI configuration. The left list is grouped as Enabled / Disabled / Coming soon. Open an engine to detect its version, install or update the CLI, and configure credentials.Available engines and Coming soon entries both appear. If Gemini, Cursor, Copilot, Qwen, or similar sit under Coming soon, do not configure them as shipped runtimes.
Claude Code
Codex
Kimi
Grok
OpenCode
Pi
DeepSeek Harness
Add a hosted provider: name, API key, base URL, model mapping
Or use local ~/.claude/settings.json / CLI login
Official direct traffic goes to Anthropic; third-party presets (Zhipu, Kimi, DeepSeek, OpenRouter, and others) route to their endpoints
Hosted profiles live in ~/.ccgui/config.json
You can override the Claude CLI path
If it is not installed, click Install on that page, or install from the terminal commands on the engine page
You can enter API keys for Anthropic, OpenAI, Gemini, DeepSeek, xAI, OpenRouter, and others
For subscription auth, click Log in: the app opens the built-in terminal, starts pi, then sends a command such as /login anthropic. You can also run pi /login in a system terminal. The app does not run OAuth for you; it only reads auth.json
Full notes for each engine are in the sidebar Providers / CLI group. Detect and PATH troubleshooting: Detect and install.
API keys stay on this computer. Mask them before you screenshot or record.
3. Install CLI
The app does not silently install any CLI. In CLI configuration, click Install / Update (it shows a plan first, then runs after you confirm), or install in a system terminal and come back to Settings to detect again.Install commands live on each engine page so this page does not copy them:
The app organizes sessions and files as a workspace / project:
Open Home
Click Add project
Choose a local folder
Confirm to enter that workspace
Without a workspace, file references, the Git panel, and project memory have no root.
6. Auto-update
The app has a built-in updater. It reads latest.json from GitHub Releases. When a new version is available, follow the prompt to install.Next: Send the first message.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CC GUI","colors":{"primary":"#C66F4F","light":"#E8A48A","dark":"#9D4C2F"},"logo":{"light":"https://mintcdn.com/mossx-docs/sGVKphCgOZhwEqHL/logo/light.svg?fit=max\u0026auto=format\u0026n=sGVKphCgOZhwEqHL\u0026q=85\u0026s=7cd664b129e46535293c690fafd6ad6c","dark":"https://mintcdn.com/mossx-docs/sGVKphCgOZhwEqHL/logo/dark.svg?fit=max\u0026auto=format\u0026n=sGVKphCgOZhwEqHL\u0026q=85\u0026s=c567429f6918ffd12e7e1011cd9bf58e"},"favicon":"https://mintcdn.com/mossx-docs/sGVKphCgOZhwEqHL/favicon.svg?fit=max\u0026auto=format\u0026n=sGVKphCgOZhwEqHL\u0026q=85\u0026s=e73c02be674a5ffe544fcbf13292f5e8","background":{"color":{"light":"#FAF9F5","dark":"#1C1B18"}},"navbar":{"links":[{"href":"https://github.com/zhukunpenglinyutong/mossx-docs/issues","label":"反馈"}],"primary":{"type":"button","label":"GitHub","href":"https://github.com/zhukunpenglinyutong/mossx-docs"}},"footer":{"socials":{"github":"https://github.com/zhukunpenglinyutong/mossx-docs","website":"https://www.mossx.ai"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"zh-Hans","default":true,"navbar":{"links":[{"href":"https://github.com/zhukunpenglinyutong/mossx-docs/issues","label":"反馈"}],"primary":{"type":"button","label":"GitHub","href":"https://github.com/zhukunpenglinyutong/mossx-docs"}},"href":""},{"language":"zh-Hant","navbar":{"links":[{"href":"https://github.com/zhukunpenglinyutong/mossx-docs/issues","label":"回饋"}],"primary":{"type":"button","label":"GitHub","href":"https://github.com/zhukunpenglinyutong/mossx-docs"}},"href":"zh-Hant"},{"language":"en","navbar":{"links":[{"href":"https://github.com/zhukunpenglinyutong/mossx-docs/issues","label":"Feedback"}],"primary":{"type":"button","label":"GitHub","href":"https://github.com/zhukunpenglinyutong/mossx-docs"}},"href":"en"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mossx-docs","hasAudioNarration":false,"actualSubdomain":"mossx-docs","customDomains":["docs.mossx.ai"],"gitSource":{"type":"github","owner":"zhukunpenglinyutong","repo":"docs-mossx","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6aea226cd1466f876b8ee707:success","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"zh-Hans","tag":"CC GUI 客户端","count":30},{"language":"en","tag":"CC GUI desktop","count":30},{"language":"zh-Hant","tag":"CC GUI 客戶端","count":30},{"language":"zh-Hans","tag":"CC GUI JetBrains 端","count":28},{"language":"zh-Hans","tag":"CC GUI VS Code 端","count":28},{"language":"en","tag":"CC GUI for JetBrains","count":28},{"language":"en","tag":"CC GUI for VS Code","count":28},{"language":"zh-Hant","tag":"CC GUI JetBrains 端","count":28},{"language":"zh-Hant","tag":"CC GUI VS Code 端","count":28},{"language":"zh-Hans","tag":"供应商 / CLI","count":25},{"language":"en","tag":"Providers / CLI","count":25},{"language":"zh-Hant","tag":"供應商 / CLI","count":25},{"language":"zh-Hans","tag":"进阶使用","count":21},{"language":"en","tag":"Advanced","count":21},{"language":"zh-Hant","tag":"進階使用","count":21},{"language":"zh-Hans","tag":"详细介绍","count":16},{"language":"en","tag":"Guides","count":16},{"language":"zh-Hant","tag":"詳細介紹","count":16},{"language":"zh-Hans","tag":"快速开始","count":12},{"language":"en","tag":"Get started","count":12},{"language":"zh-Hant","tag":"快速開始","count":12},{"language":"zh-Hans","tag":"社区","count":9},{"language":"en","tag":"Community","count":9},{"language":"zh-Hant","tag":"社群","count":9},{"language":"zh-Hans","tag":"CC GUI 概览","count":1},{"language":"zh-Hans","tag":"CC GUI 手机端","count":1},{"language":"en","tag":"CC GUI overview","count":1},{"language":"en","tag":"CC GUI mobile","count":1},{"language":"zh-Hant","tag":"CC GUI 概覽","count":1},{"language":"zh-Hant","tag":"CC GUI 手機端","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"img[src*=\"/images/\"]{border-radius:10px}"}]}
{"page":{"pagePath":"en/desktop/start/setup","slug":"/en/desktop/start/setup","pageMetadata":{"title":"Prepare your environment","description":"Set up a runtime, provider credentials, and each engine CLI for the CC GUI desktop app.","href":"/en/desktop/start/setup"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Set up a runtime, provider credentials, and each engine CLI for the CC GUI desktop app.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Tab,Table,Tabs,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`After you install the app, you still need at least one working AI runtime and a project workspace.`}),`\n`,_jsx(Heading,{level:`2`,id:`1-understand-the-dependencies`,children:`1. Understand the dependencies`}),`\n`,_jsx(_components.p,{children:`The desktop app is a full application. You do not need VS Code or IDEA.`}),`\n`,_jsx(_components.p,{children:`Chat still depends on a local runtime:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`If you want`}),_jsx(_components.th,{children:`You need`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Claude Code`}),_jsx(_components.td,{children:`Follow the guide to install the CLI and configure it`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Codex`}),_jsx(_components.td,{children:`Follow the guide to install the CLI and configure it`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Kimi / Grok / OpenCode / Pi`}),_jsx(_components.td,{children:`The matching command on this machine, plus local config or a third-party provider`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`DeepSeek Harness`}),_jsx(_components.td,{children:`Start DSH locally and finish its setup`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Settings → CLI configuration`}),` (providers) to see detect status and install notes. Available engines and `,_jsx(_components.strong,{children:`Coming soon`}),` items appear in separate groups.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/providers-overview.png?fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=a6c19a6b617866f7941dfc60b7c05dfa`,alt:`Provider and CLI configuration`,width:`100%`,\"data-og-width\":`2678`,\"data-og-height\":`1450`,\"data-path\":`images/desktop/providers-overview.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/providers-overview.png?w=280\u0026fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=a7405ad92960e4f505cd36644ba3310f 280w, https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/providers-overview.png?w=560\u0026fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=9ea89121ca7097fa23bee43764b59710 560w, https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/providers-overview.png?w=840\u0026fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=f1739a3259b312a67e9bb8e8781aa1ed 840w, https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/providers-overview.png?w=1100\u0026fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=ea1a1ee49dceaabb83b821456f682619 1100w, https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/providers-overview.png?w=1650\u0026fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=97f66ad24da33c323b89e2a92ee8da38 1650w, https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/providers-overview.png?w=2500\u0026fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=2a78a0c54c1522492f52020dbca00373 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`2-configure-cli`,children:`2. Configure CLI`}),`\n`,_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Settings → CLI configuration`}),`. The left list is grouped as `,_jsx(_components.strong,{children:`Enabled / Disabled / Coming soon`}),`. Open an engine to detect its version, install or update the CLI, and configure credentials.`]}),`\n`,_jsxs(_components.p,{children:[`Available engines and `,_jsx(_components.strong,{children:`Coming soon`}),` entries both appear. If Gemini, Cursor, Copilot, Qwen, or similar sit under `,_jsx(_components.strong,{children:`Coming soon`}),`, do not configure them as shipped runtimes.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Claude Code`,id:`claude-code`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Add a hosted provider: name, API key, base URL, model mapping`}),`\n`,_jsxs(_components.li,{children:[`Or use local `,_jsx(_components.code,{children:`~/.claude/settings.json`}),` / CLI login`]}),`\n`,_jsx(_components.li,{children:`Official direct traffic goes to Anthropic; third-party presets (Zhipu, Kimi, DeepSeek, OpenRouter, and others) route to their endpoints`}),`\n`,_jsxs(_components.li,{children:[`Hosted profiles live in `,_jsx(_components.code,{children:`~/.ccgui/config.json`})]}),`\n`,_jsx(_components.li,{children:`You can override the Claude CLI path`}),`\n`,_jsxs(_components.li,{children:[`If it is not installed, click `,_jsx(_components.strong,{children:`Install`}),` on that page, or install from the terminal commands on the engine page`]}),`\n`]}),_jsxs(_components.p,{children:[`Details: `,_jsx(_components.a,{href:`/en/desktop/providers/claude`,children:`Claude Code`}),`.`]})]}),_jsxs(Tab,{title:`Codex`,id:`codex`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Add a provider; config is written to `,_jsx(_components.code,{children:`~/.codex/`})]}),`\n`,_jsxs(_components.li,{children:[`Or use local `,_jsx(_components.code,{children:`config.toml`}),` / `,_jsx(_components.code,{children:`auth.json`})]}),`\n`,_jsxs(_components.li,{children:[`For a subscription account, run `,_jsx(_components.code,{children:`codex login`}),` in a terminal first`]}),`\n`,_jsx(_components.li,{children:`You can add custom models and message / MCP environment variables`}),`\n`,_jsx(_components.li,{children:`You can override the Codex CLI path`}),`\n`,_jsxs(_components.li,{children:[`If it is not installed, click `,_jsx(_components.strong,{children:`Install`}),` on that page, or install from the terminal commands on the engine page`]}),`\n`]}),_jsxs(_components.p,{children:[`Details: `,_jsx(_components.a,{href:`/en/desktop/providers/codex`,children:`Codex`}),`.`]})]}),_jsxs(Tab,{title:`Kimi`,id:`kimi`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Use local `,_jsx(_components.code,{children:`~/.kimi-code/config.toml`}),` (override with `,_jsx(_components.code,{children:`$KIMI_CODE_HOME`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`Or add a third-party provider: name, base URL, API key, model. Enabling it writes that `,_jsx(_components.code,{children:`config.toml`}),` (backed up first as `,_jsx(_components.code,{children:`config.toml.bak`}),`)`]}),`\n`,_jsx(_components.li,{children:`Provider types: Kimi Code official / OpenAI-compatible / Anthropic-compatible`}),`\n`,_jsx(_components.li,{children:`Quick presets: Kimi Code (official), Moonshot Open Platform`}),`\n`,_jsx(_components.li,{children:`You can override the Kimi CLI path`}),`\n`,_jsxs(_components.li,{children:[`If it is not installed, click `,_jsx(_components.strong,{children:`Install`}),` on that page, or install from the terminal commands on the engine page`]}),`\n`]}),_jsxs(_components.p,{children:[`Details: `,_jsx(_components.a,{href:`/en/desktop/providers/kimi`,children:`Kimi`}),`.`]})]}),_jsxs(Tab,{title:`Grok`,id:`grok`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Use local `,_jsx(_components.code,{children:`~/.grok/config.toml`}),` (override with `,_jsx(_components.code,{children:`$GROK_HOME`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`Or add a third-party provider: name, base URL, API key, model. Enabling it writes that `,_jsx(_components.code,{children:`config.toml`}),` (backed up first as `,_jsx(_components.code,{children:`config.toml.bak`}),`)`]}),`\n`,_jsx(_components.li,{children:`API backends: Chat Completions / Responses / Messages (Anthropic)`}),`\n`,_jsx(_components.li,{children:`Quick preset: xAI (official)`}),`\n`,_jsx(_components.li,{children:`You can override the Grok CLI path`}),`\n`,_jsxs(_components.li,{children:[`If it is not installed, click `,_jsx(_components.strong,{children:`Install`}),` on that page, or install from the terminal commands on the engine page`]}),`\n`]}),_jsxs(_components.p,{children:[`Details: `,_jsx(_components.a,{href:`/en/desktop/providers/grok`,children:`Grok`}),`.`]})]}),_jsxs(Tab,{title:`OpenCode`,id:`opencode`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Use local `,_jsx(_components.code,{children:`~/.config/opencode/opencode.json`}),` (`,_jsx(_components.code,{children:`$OPENCODE_CONFIG`}),` wins)`]}),`\n`,_jsxs(_components.li,{children:[`Or add a third-party provider: name, base URL, API key, model list. Hosted providers use env injection and `,_jsx(_components.strong,{children:`do not`}),` change `,_jsx(_components.code,{children:`opencode.json`})]}),`\n`,_jsx(_components.li,{children:`Quick preset: OpenCode Zen (official)`}),`\n`,_jsxs(_components.li,{children:[`You can override the OpenCode CLI path, or move this engine to `,_jsx(_components.strong,{children:`Disabled`})]}),`\n`,_jsxs(_components.li,{children:[`If it is not installed, click `,_jsx(_components.strong,{children:`Install`}),` on that page, or install from the terminal commands on the engine page`]}),`\n`]}),_jsxs(_components.p,{children:[`Details: `,_jsx(_components.a,{href:`/en/desktop/providers/opencode`,children:`OpenCode`}),`.`]})]}),_jsxs(Tab,{title:`Pi`,id:`pi`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Auth lives in `,_jsx(_components.code,{children:`~/.pi/agent/auth.json`}),` (mode `,_jsx(_components.code,{children:`0600`}),`)`]}),`\n`,_jsx(_components.li,{children:`You can enter API keys for Anthropic, OpenAI, Gemini, DeepSeek, xAI, OpenRouter, and others`}),`\n`,_jsxs(_components.li,{children:[`For subscription auth, click `,_jsx(_components.strong,{children:`Log in`}),`: the app opens the built-in terminal, starts `,_jsx(_components.code,{children:`pi`}),`, then sends a command such as `,_jsx(_components.code,{children:`/login anthropic`}),`. You can also run `,_jsx(_components.code,{children:`pi /login`}),` in a system terminal. The app does not run OAuth for you; it only reads `,_jsx(_components.code,{children:`auth.json`})]}),`\n`,_jsxs(_components.li,{children:[`Resolve order: `,_jsx(_components.code,{children:`--api-key`}),` → `,_jsx(_components.code,{children:`auth.json`}),` → environment variables → `,_jsx(_components.code,{children:`models.json`})]}),`\n`,_jsx(_components.li,{children:`You can override the Pi CLI path`}),`\n`,_jsxs(_components.li,{children:[`If it is not installed, click `,_jsx(_components.strong,{children:`Install`}),` on that page, or install from the terminal commands on the engine page`]}),`\n`]}),_jsxs(_components.p,{children:[`Details: `,_jsx(_components.a,{href:`/en/desktop/providers/pi`,children:`Pi`}),`.`]})]}),_jsxs(Tab,{title:`DeepSeek Harness`,id:`deepseek-harness`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The app connects to a local DSH host. It does not take another API key`}),`\n`,_jsxs(_components.li,{children:[`Set `,_jsx(_components.strong,{children:`Host`}),` (default `,_jsx(_components.code,{children:`127.0.0.1`}),`) and `,_jsx(_components.strong,{children:`Port`}),` (default `,_jsx(_components.code,{children:`3080`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`You can turn on `,_jsx(_components.strong,{children:`Auto-start host`})]}),`\n`,_jsxs(_components.li,{children:[`Configure models and API keys in the DSH Web UI. Click `,_jsx(_components.strong,{children:`Open DSH settings`})]}),`\n`,_jsx(_components.li,{children:`You can override the DSH binary path`}),`\n`,_jsxs(_components.li,{children:[`If it is not installed, click `,_jsx(_components.strong,{children:`Install`}),` on that page, or install from the terminal commands on the engine page`]}),`\n`]}),_jsxs(_components.p,{children:[`Details: `,_jsx(_components.a,{href:`/en/desktop/providers/dsh`,children:`DeepSeek Harness`}),`.`]})]})]}),`\n`,_jsxs(_components.p,{children:[`Full notes for each engine are in the sidebar `,_jsx(_components.strong,{children:`Providers / CLI`}),` group. Detect and PATH troubleshooting: `,_jsx(_components.a,{href:`/en/desktop/providers/cli`,children:`Detect and install`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`API keys stay on this computer. Mask them before you screenshot or record.`})}),`\n`,_jsx(Heading,{level:`2`,id:`3-install-cli`,children:`3. Install CLI`}),`\n`,_jsxs(_components.p,{children:[`The app `,_jsx(_components.strong,{children:`does not silently install`}),` any CLI. In `,_jsx(_components.strong,{children:`CLI configuration`}),`, click `,_jsx(_components.strong,{children:`Install`}),` / `,_jsx(_components.strong,{children:`Update`}),` (it shows a plan first, then runs after you confirm), or install in a system terminal and come back to Settings to detect again.`]}),`\n`,_jsx(_components.p,{children:`Install commands live on each engine page so this page does not copy them:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Engine`}),_jsx(_components.th,{children:`Install notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Claude Code`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/en/desktop/providers/claude#install`,children:`Install`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Codex`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/en/desktop/providers/codex#install`,children:`Install`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Kimi`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/en/desktop/providers/kimi#install`,children:`Install`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Grok`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`/en/desktop/providers/grok#install`,children:`Install`}),` (use WSL on Windows)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`OpenCode`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/en/desktop/providers/opencode#install`,children:`Install`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Pi`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/en/desktop/providers/pi#install`,children:`Install`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`DeepSeek Harness`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/en/desktop/providers/dsh#install`,children:`Install`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Failed detects, PATH, and custom paths: `,_jsx(_components.a,{href:`/en/desktop/providers/cli`,children:`Detect and install`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`4-config-paths`,children:`4. Config paths`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Path`}),_jsx(_components.th,{children:`Use`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`~/.ccgui`})}),_jsx(_components.td,{children:`CCGUI config`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`~/.claude/settings.json`})}),_jsx(_components.td,{children:`Claude Code CLI config`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`~/.codex/config.toml`}),`, `,_jsx(_components.code,{children:`auth.json`})]}),_jsx(_components.td,{children:`Codex CLI config`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`~/.kimi-code/config.toml`})}),_jsx(_components.td,{children:`Kimi CLI config`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`~/.grok/config.toml`})}),_jsx(_components.td,{children:`Grok CLI config`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`~/.config/opencode/opencode.json`})}),_jsx(_components.td,{children:`OpenCode CLI config`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`~/.pi/agent/auth.json`})}),_jsx(_components.td,{children:`Pi CLI config`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`5-add-a-project-workspace`,children:`5. Add a project workspace`}),`\n`,_jsx(_components.p,{children:`The app organizes sessions and files as a workspace / project:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Open Home`}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Add project`})]}),`\n`,_jsx(_components.li,{children:`Choose a local folder`}),`\n`,_jsx(_components.li,{children:`Confirm to enter that workspace`}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/home-workspace.png?fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=5353bc1c92edd044ecd422fafe657f24`,alt:`Home workspace picker`,width:`360`,\"data-og-width\":`536`,\"data-og-height\":`918`,\"data-path\":`images/desktop/home-workspace.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/home-workspace.png?w=280\u0026fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=04c1cb1dd4d59514a29ff3c90897f4db 280w, https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/home-workspace.png?w=560\u0026fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=37f558e6b4b0a4c1d5088f25a3f63412 560w, https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/home-workspace.png?w=840\u0026fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=ecfb6ed6f2c246cfeb19c6fe4008bc13 840w, https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/home-workspace.png?w=1100\u0026fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=9fecfc1e81921ab20d80df69b4a7b94f 1100w, https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/home-workspace.png?w=1650\u0026fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=9ef156e3b42813b73784aa513c7357ad 1650w, https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/desktop/home-workspace.png?w=2500\u0026fit=max\u0026auto=format\u0026n=kz4nt5KFSKzkAZwe\u0026q=85\u0026s=d0cd61862c99182a25a60342f1c01008 2500w`}),`\n`,_jsx(_components.p,{children:`Without a workspace, file references, the Git panel, and project memory have no root.`}),`\n`,_jsx(Heading,{level:`2`,id:`6-auto-update`,children:`6. Auto-update`}),`\n`,_jsxs(_components.p,{children:[`The app has a built-in updater. It reads `,_jsx(_components.code,{children:`latest.json`}),` from GitHub Releases. When a new version is available, follow the prompt to install.`]}),`\n`,_jsxs(_components.p,{children:[`Next: `,_jsx(_components.a,{href:`/en/desktop/start/first-task`,children:`Send the first message`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Prepare your environment","description":"Set up a runtime, provider credentials, and each engine CLI for the CC GUI desktop app.","href":"/en/desktop/start/setup"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. Understand the dependencies","slug":"1-understand-the-dependencies","depth":2,"children":[]},{"title":"2. Configure CLI","slug":"2-configure-cli","depth":2,"children":[]},{"title":"3. Install CLI","slug":"3-install-cli","depth":2,"children":[]},{"title":"4. Config paths","slug":"4-config-paths","depth":2,"children":[]},{"title":"5. Add a project workspace","slug":"5-add-a-project-workspace","depth":2,"children":[]},{"title":"6. Auto-update","slug":"6-auto-update","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"mossx-docs","siteName":"CC GUI","title":"Prepare your environment - CC GUI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"zh-Hans":{"href":"/desktop/start/setup","matchLevel":1},"zh-Hant":{"href":"/zh-Hant/desktop/start/setup","matchLevel":1},"en":{"href":"/en/desktop/start/setup","matchLevel":0}}},"lastModified":"2026-08-18T06:12:10.105Z","originalFileLocation":"en/desktop/start/setup.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Set up a runtime, provider credentials, and each engine CLI for the CC GUI desktop app.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CC GUI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mossx-docs/USs-FgRSKhtiEm7Z/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mossx-docs/USs-FgRSKhtiEm7Z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mossx-docs/USs-FgRSKhtiEm7Z/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mossx-docs/USs-FgRSKhtiEm7Z/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mossx-docs/USs-FgRSKhtiEm7Z/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mossx-docs/USs-FgRSKhtiEm7Z/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mossx-docs/USs-FgRSKhtiEm7Z/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mossx-docs/USs-FgRSKhtiEm7Z/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mossx-docs/USs-FgRSKhtiEm7Z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Prepare your environment - CC GUI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Set up a runtime, provider credentials, and each engine CLI for the CC GUI desktop app.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CC GUI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mossx.ai/en/desktop/start/setup\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mossx-docs.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Prepare+your+environment\u0026amp;description=Set+up+a+runtime%2C+provider+credentials%2C+and+each+engine+CLI+for+the+CC+GUI+desktop+app.\u0026amp;theme=70cfe1db5f247625e1bac1ff\u0026amp;signature=aeaba829317587dc3ae5b2cde0fcc1c1b583ac1181ba107644950f01e5b186aa\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Prepare your environment - CC GUI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Set up a runtime, provider credentials, and each engine CLI for the CC GUI desktop app.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mossx-docs.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Prepare+your+environment\u0026amp;description=Set+up+a+runtime%2C+provider+credentials%2C+and+each+engine+CLI+for+the+CC+GUI+desktop+app.\u0026amp;theme=70cfe1db5f247625e1bac1ff\u0026amp;signature=aeaba829317587dc3ae5b2cde0fcc1c1b583ac1181ba107644950f01e5b186aa\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mossx-docs/USs-FgRSKhtiEm7Z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CC GUI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#C66F4F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mossx.ai/en/desktop/start/setup\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/desktop/start/setup.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.mossx.ai/en/desktop/start/setup\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://docs.mossx.ai/desktop/start/setup\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://docs.mossx.ai/zh-Hant/desktop/start/setup\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.mossx.ai/desktop/start/setup\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mossx.ai/#organization\",\"name\":\"CC GUI\",\"url\":\"https://docs.mossx.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mossx-docs/sGVKphCgOZhwEqHL/logo/light.svg?fit=max\u0026auto=format\u0026n=sGVKphCgOZhwEqHL\u0026q=85\u0026s=7cd664b129e46535293c690fafd6ad6c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mossx.ai#website\",\"name\":\"CC GUI\",\"url\":\"https://docs.mossx.ai\",\"publisher\":{\"@id\":\"https://docs.mossx.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mossx.ai/en/desktop/start/setup#webpage\",\"url\":\"https://docs.mossx.ai/en/desktop/start/setup\",\"name\":\"Prepare your environment\",\"description\":\"Set up a runtime, provider credentials, and each engine CLI for the CC GUI desktop app.\",\"dateModified\":\"2026-08-18T06:12:10.105Z\",\"isPartOf\":{\"@id\":\"https://docs.mossx.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mossx.ai/en/desktop/start/setup#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mossx.ai/en/desktop/start/setup#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get started\",\"item\":\"https://docs.mossx.ai/en/desktop/start/install\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prepare your environment\",\"item\":\"https://docs.mossx.ai/en/desktop/start/setup\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.mossx.ai/en/desktop/start/setup#article\",\"headline\":\"Prepare your environment\",\"name\":\"Prepare your environment\",\"description\":\"Set up a runtime, provider credentials, and each engine CLI for the CC GUI desktop app.\",\"url\":\"https://docs.mossx.ai/en/desktop/start/setup\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mossx.ai/en/desktop/start/setup#webpage\"},\"dateModified\":\"2026-08-18T06:12:10.105Z\",\"publisher\":{\"@id\":\"https://docs.mossx.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mossx.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CC GUI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CC GUI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/desktop/start/setup.md","siteName":"CC GUI","nav":{"global":null,"languages":[{"language":"zh-Hans","default":true,"navbar":{"links":[{"href":"https://github.com/zhukunpenglinyutong/mossx-docs/issues","label":"反馈"}],"primary":{"type":"button","label":"GitHub","href":"https://github.com/zhukunpenglinyutong/mossx-docs"}},"pages":[{"title":"zh-Hans","href":"/desktop/start/setup"}]},{"language":"zh-Hant","navbar":{"links":[{"href":"https://github.com/zhukunpenglinyutong/mossx-docs/issues","label":"回饋"}],"primary":{"type":"button","label":"GitHub","href":"https://github.com/zhukunpenglinyutong/mossx-docs"}},"pages":[{"title":"zh-Hant","href":"/zh-Hant/desktop/start/setup"}]},{"language":"en","navbar":{"links":[{"href":"https://github.com/zhukunpenglinyutong/mossx-docs/issues","label":"Feedback"}],"primary":{"type":"button","label":"GitHub","href":"https://github.com/zhukunpenglinyutong/mossx-docs"}},"products":[{"product":"CC GUI overview","pages":[{"title":"CC GUI overview","href":"/en"}]},{"product":"CC GUI for JetBrains","pages":[{"title":"CC GUI for JetBrains","href":"/en/jetbrains"}]},{"product":"CC GUI desktop","pages":[{"title":"CC GUI desktop overview","href":"/en/desktop"},{"group":"Get started","pages":[{"title":"Download and install","description":"Install the CC GUI desktop app from GitHub Releases.","href":"/en/desktop/start/install"},{"title":"Prepare your environment","href":"/en/desktop/start/setup"},{"title":"Send the first message","description":"Add a project, choose a provider, and finish the first chat in the desktop app.","href":"/en/desktop/start/first-task"},{"title":"Learn the interface","href":"/en/desktop/start/interface"}]},{"group":"Guides","pages":[{"title":"Sessions and history","href":"/en/desktop/chat/sessions"},{"title":"Chat area","href":"/en/desktop/chat/overview"},{"title":"Input","href":"/en/desktop/chat/input"},{"title":"Modes and permissions","href":"/en/desktop/chat/modes"},{"title":"Extensions","href":"/en/desktop/extensions"},{"title":"Settings overview","href":"/en/desktop/settings/overview"}]},{"group":"Providers / CLI","pages":[{"title":"Provider overview","href":"/en/desktop/providers/overview"},{"title":"Claude Code","href":"/en/desktop/providers/claude"},{"title":"Codex","href":"/en/desktop/providers/codex"},{"title":"Kimi","href":"/en/desktop/providers/kimi"},{"title":"Grok","href":"/en/desktop/providers/grok"},{"title":"OpenCode","href":"/en/desktop/providers/opencode"},{"title":"Pi","href":"/en/desktop/providers/pi"},{"title":"DeepSeek Harness","sidebarTitle":"DeepSeek Harness","href":"/en/desktop/providers/dsh"},{"title":"Detect and install","href":"/en/desktop/providers/cli"}]},{"group":"Advanced","pages":[{"title":"MCP","href":"/en/desktop/customize/mcp"},{"title":"Skills","href":"/en/desktop/customize/skills"},{"title":"Agents and prompt library","href":"/en/desktop/customize/agents-prompts"},{"title":"Enhance prompt","href":"/en/desktop/customize/prompt-enhancer"},{"title":"Workspace and panels","href":"/en/desktop/workspace/overview"},{"title":"Git and commit","href":"/en/desktop/workspace/git"},{"title":"Project memory and knowledge map","href":"/en/desktop/workspace/project-intelligence"}]},{"group":"Community","pages":[{"title":"FAQ","href":"/en/desktop/community/faq"},{"title":"Changelog","href":"/en/desktop/community/changelog"},{"title":"Contribute","href":"/en/desktop/community/contribute"}]}],"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/zhukunpenglinyutong/desktop-cc-gui"}]}},{"product":"CC GUI for VS Code","pages":[{"title":"CC GUI for VS Code","href":"/en/vscode"}]},{"product":"CC GUI mobile","pages":[{"title":"CC GUI mobile","href":"/en/mobile"}]}],"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://www.mossx.ai"}]}}]},"basePath":"","title":"Prepare your environment - CC GUI","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-D1ofL3wq.js","lightbox-handle-r17bVUz3.js"]}