[{"data":1,"prerenderedAt":335},["ShallowReactive",2],{"doc-\u002Fen\u002Fdocs\u002Fgetting-started\u002Ffirst-setup":3,"doc-surround-\u002Fen\u002Fdocs\u002Fgetting-started\u002Ffirst-setup":234,"doc-nav-en":240},{"id":4,"title":5,"body":6,"description":224,"extension":225,"meta":226,"navigation":227,"order":228,"path":229,"section":230,"seo":231,"stem":232,"__hash__":233},"docs_en\u002Fen\u002Fdocs\u002F01.getting-started\u002F03.first-setup.md","First-Time Setup",{"type":7,"value":8,"toc":218},"minimark",[9,13,23,28,90,100,104,116,139,142,164,167,176,180,214],[10,11,5],"h1",{"id":12},"first-time-setup",[14,15,16,17,22],"p",{},"After ",[18,19,21],"a",{"href":20},"\u002Fen\u002Fdocs\u002Fgetting-started\u002Fregister-login","registering and signing in",", spend 2 minutes on the configuration below to get the full AI coding experience. Every setting can be changed later on the \"Settings\" page.",[24,25,27],"h2",{"id":26},"recommended-setup-flow","Recommended Setup Flow",[29,30,31,41,53,70,82],"steps",{},[32,33,34],"step",{},[14,35,36,40],{},[37,38,39],"strong",{},"Verify your sign-in state",": open \"Settings → Profile\" and confirm your username and email are displayed correctly. The login token is managed by the local kernel and renewed automatically — no repeated sign-ins needed in normal use.",[32,42,43],{},[14,44,45,48,49,52],{},[37,46,47],{},"Choose a default model",": open \"Settings → AI Models\" and pick a model in the \"Default model\" dropdown. LingXizhi natively supports ",[37,50,51],{},"15+ mainstream models"," including Kimi K3, GLM-5.2, and DeepSeek-V4, covering both official direct connections and channels such as Volcano Engine. Your choice applies to chat, completion, and RUSH tasks at once.",[32,54,55],{},[14,56,57,60,61,64,65,69],{},[37,58,59],{},"Check your subscription and usage",": open \"Settings → Subscription & Usage\" to see your current plan and ",[37,62,63],{},"remaining plan credits"," (Free: 500 credits\u002Fmonth, paid tiers: 4,000–40,000 credits\u002Fmonth). Plan credits refresh monthly — see ",[18,66,68],{"href":67},"\u002Fen\u002Fdocs\u002Fmodels-billing\u002Fplans-quota","Plans & Quota",".",[32,71,72],{},[14,73,74,77,78,69],{},[37,75,76],{},"(Optional) Bind your own API Key",": if you already have a key from a model provider, bind it in settings (BYOK, Bring Your Own Key). You are billed by the provider with zero platform markup, and the key is stored with AES-256 encryption. See ",[18,79,81],{"href":80},"\u002Fen\u002Fdocs\u002Fmodels-billing\u002Fbyok","BYOK",[32,83,84],{},[14,85,86,89],{},[37,87,88],{},"(Optional) Adjust appearance and rules",": switch between dark\u002Flight themes and adjust font size in \"Settings → Appearance\"; toggle built-in rules as needed in \"Settings → AI Rules\".",[91,92,94],"callout",{"type":93},"tip",[14,95,96,99],{},[37,97,98],{},"The model list comes from the cloud",": the IDE does not hardcode a model list locally — available models are fetched by the kernel from the server in real time. If the \"AI Models\" dropdown is empty, the network or the kernel is usually not ready yet; wait a moment or restart the IDE.",[24,101,103],{"id":102},"the-kernel-and-port-3721","The Kernel and Port 3721",[14,105,106,107,110,111,115],{},"LingXizhi IDE's AI capabilities are provided by a built-in ",[37,108,109],{},"Rust kernel",". The kernel runs in the background and listens only on the loopback address ",[112,113,114],"code",{},"127.0.0.1",":",[117,118,119,126,136],"ul",{},[120,121,122,125],"li",{},[37,123,124],{},"Default port 3721",". If that port is occupied, the kernel automatically tries the next ports in sequence (up to 10) and writes the actual port back to the config — no manual handling required.",[120,127,128,129,131,132,135],{},"It binds only to ",[112,130,114],{}," and is ",[37,133,134],{},"not exposed externally",", so there is generally no need to allow it through the firewall.",[120,137,138],{},"All local API calls between the IDE and the kernel (sign-in, model list, subscription queries, RUSH tasks, etc.) go through this port.",[14,140,141],{},"To check whether the kernel is running, run in a terminal:",[143,144,149],"pre",{"className":145,"code":146,"language":147,"meta":148,"style":148},"language-bash shiki shiki-themes tokyo-night","curl http:\u002F\u002F127.0.0.1:3721\u002Fhealth\n","bash","",[112,150,151],{"__ignoreMap":148},[152,153,156,160],"span",{"class":154,"line":155},"line",1,[152,157,159],{"class":158},"sE3pS","curl",[152,161,163],{"class":162},"sPY7s"," http:\u002F\u002F127.0.0.1:3721\u002Fhealth\n",[14,165,166],{},"A normal response means the kernel is ready. If the connection fails, restart the IDE and the kernel will be brought up automatically.",[91,168,170],{"type":169},"warn",[14,171,172,175],{},[37,173,174],{},"Do not kill the kernel process manually",": AI chat, completion, quota queries, and more all depend on the local kernel. Force-terminating the kernel process makes these features unavailable; restarting the IDE restores them.",[24,177,179],{"id":178},"next-steps","Next Steps",[117,181,182,190,195],{},[120,183,184,185,189],{},"Migrating from VS Code or Cursor? See ",[18,186,188],{"href":187},"\u002Fen\u002Fdocs\u002Fgetting-started\u002Fmigrate-from-vscode","Migrate from VS Code"," to import your keybindings and settings in one click.",[120,191,192,193,69],{},"Learn about credit allowances and the monthly refresh rule for each plan: ",[18,194,68],{"href":67},[120,196,197,198,202,203,202,206,209,210,69],{},"Start your first task: press ",[199,200,201],"kbd",{},"Ctrl"," + ",[199,204,205],{},"Shift",[199,207,208],{},"R"," to launch a RUSH Deep Task — see the ",[18,211,213],{"href":212},"\u002Fen\u002Fdocs\u002Fguides\u002Frush","RUSH guide",[215,216,217],"style",{},"html pre.shiki code .sE3pS, html code.shiki .sE3pS{--shiki-default:#C0CAF5}html pre.shiki code .sPY7s, html code.shiki .sPY7s{--shiki-default:#9ECE6A}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":148,"searchDepth":219,"depth":219,"links":220},2,[221,222,223],{"id":26,"depth":219,"text":27},{"id":102,"depth":219,"text":103},{"id":178,"depth":219,"text":179},"Recommended configuration after first launching LingXizhi IDE — choose a default model, verify sign-in state and quota, and understand kernel port 3721","md",{},true,3,"\u002Fen\u002Fdocs\u002Fgetting-started\u002Ffirst-setup","Getting Started",{"title":5,"description":224},"en\u002Fdocs\u002F01.getting-started\u002F03.first-setup","UXHZeqqwEMIPB9jbUNJzUJFvKwsUsL2851c1_edd5wY",[235,238],{"title":236,"path":20,"stem":237,"children":-1},"Register & Sign In","en\u002Fdocs\u002F01.getting-started\u002F02.register-login",{"title":188,"path":187,"stem":239,"children":-1},"en\u002Fdocs\u002F01.getting-started\u002F04.migrate-from-vscode",[241],{"title":242,"path":243,"stem":244,"children":245,"page":262},"En","\u002Fen","en",[246],{"title":247,"path":248,"stem":249,"children":250,"page":262},"Docs","\u002Fen\u002Fdocs","en\u002Fdocs",[251,263,295,310],{"title":230,"path":252,"stem":253,"children":254,"page":262},"\u002Fen\u002Fdocs\u002Fgetting-started","en\u002Fdocs\u002F01.getting-started",[255,259,260,261],{"title":256,"path":257,"stem":258},"Installation & Download","\u002Fen\u002Fdocs\u002Fgetting-started\u002Finstallation","en\u002Fdocs\u002F01.getting-started\u002F01.installation",{"title":236,"path":20,"stem":237},{"title":5,"path":229,"stem":232},{"title":188,"path":187,"stem":239},false,{"title":264,"path":265,"stem":266,"children":267,"page":262},"Feature Guides","\u002Fen\u002Fdocs\u002Fguides","en\u002Fdocs\u002F02.guides",[268,272,275,279,283,287,291],{"title":269,"path":270,"stem":271},"AI Chat & Inline Edit","\u002Fen\u002Fdocs\u002Fguides\u002Fai-chat","en\u002Fdocs\u002F02.guides\u002F05.ai-chat",{"title":273,"path":212,"stem":274},"RUSH Deep Task","en\u002Fdocs\u002F02.guides\u002F06.rush",{"title":276,"path":277,"stem":278},"FIM Code Completion","\u002Fen\u002Fdocs\u002Fguides\u002Ffim-completion","en\u002Fdocs\u002F02.guides\u002F07.fim-completion",{"title":280,"path":281,"stem":282},"Semantic Code Graph","\u002Fen\u002Fdocs\u002Fguides\u002Fcode-graph","en\u002Fdocs\u002F02.guides\u002F08.code-graph",{"title":284,"path":285,"stem":286},"MCP Tools & Marketplace","\u002Fen\u002Fdocs\u002Fguides\u002Fmcp","en\u002Fdocs\u002F02.guides\u002F09.mcp",{"title":288,"path":289,"stem":290},"Debugging & DAP","\u002Fen\u002Fdocs\u002Fguides\u002Fdebugging","en\u002Fdocs\u002F02.guides\u002F10.debugging",{"title":292,"path":293,"stem":294},"Integrated Terminal","\u002Fen\u002Fdocs\u002Fguides\u002Fterminal","en\u002Fdocs\u002F02.guides\u002F11.terminal",{"title":296,"path":297,"stem":298,"children":299,"page":262},"Models & Billing","\u002Fen\u002Fdocs\u002Fmodels-billing","en\u002Fdocs\u002F03.models-billing",[300,304,307],{"title":301,"path":302,"stem":303},"Models","\u002Fen\u002Fdocs\u002Fmodels-billing\u002Fmodels","en\u002Fdocs\u002F03.models-billing\u002F12.models",{"title":305,"path":67,"stem":306},"Plans & Credits","en\u002Fdocs\u002F03.models-billing\u002F13.plans-quota",{"title":308,"path":80,"stem":309},"BYOK (Bring Your Own Key)","en\u002Fdocs\u002F03.models-billing\u002F14.byok",{"title":311,"path":312,"stem":313,"children":314,"page":262},"Reference & FAQ","\u002Fen\u002Fdocs\u002Freference","en\u002Fdocs\u002F04.reference",[315,319,323,327,331],{"title":316,"path":317,"stem":318},"Keyboard Shortcuts","\u002Fen\u002Fdocs\u002Freference\u002Fshortcuts","en\u002Fdocs\u002F04.reference\u002F15.shortcuts",{"title":320,"path":321,"stem":322},"Configuration","\u002Fen\u002Fdocs\u002Freference\u002Fconfiguration","en\u002Fdocs\u002F04.reference\u002F16.configuration",{"title":324,"path":325,"stem":326},"Kernel API","\u002Fen\u002Fdocs\u002Freference\u002Fkernel-api","en\u002Fdocs\u002F04.reference\u002F17.kernel-api",{"title":328,"path":329,"stem":330},"FAQ","\u002Fen\u002Fdocs\u002Freference\u002Ffaq","en\u002Fdocs\u002F04.reference\u002F18.faq",{"title":332,"path":333,"stem":334},"Cloud REST API","\u002Fen\u002Fdocs\u002Freference\u002Fcloud-api","en\u002Fdocs\u002F04.reference\u002F19.cloud-api",1788543854727]