[{"data":1,"prerenderedAt":375},["ShallowReactive",2],{"navigation_docs":3,"-docs-environment-variables":145,"-docs-environment-variables-surround":370},[4,8,12,16,51,81,103],{"title":5,"path":6,"stem":7},"Introduction","\u002Fdocs\u002Fintroduction","docs\u002F1.introduction",{"title":9,"path":10,"stem":11},"Getting started","\u002Fdocs\u002Fgetting-started","docs\u002F2.getting-started",{"title":13,"path":14,"stem":15},"Environment variables","\u002Fdocs\u002Fenvironment-variables","docs\u002F3.environment-variables",{"title":17,"icon":18,"path":19,"stem":20,"children":21,"page":50},"Guide","i-lucide-book-open","\u002Fdocs\u002Fguide","docs\u002F4.guide",[22,26,30,34,38,42,46],{"title":23,"path":24,"stem":25},"Scaffold a project","\u002Fdocs\u002Fguide\u002Fscaffold","docs\u002F4.guide\u002F1.scaffold",{"title":27,"path":28,"stem":29},"Pin and manage templates","\u002Fdocs\u002Fguide\u002Fpin","docs\u002F4.guide\u002F2.pin",{"title":31,"path":32,"stem":33},"Update pinned templates","\u002Fdocs\u002Fguide\u002Fupdating","docs\u002F4.guide\u002F3.updating",{"title":35,"path":36,"stem":37},"Find templates","\u002Fdocs\u002Fguide\u002Fsearch","docs\u002F4.guide\u002F4.search",{"title":39,"path":40,"stem":41},"Manage registries","\u002Fdocs\u002Fguide\u002Fregistry","docs\u002F4.guide\u002F5.registry",{"title":43,"path":44,"stem":45},"Troubleshooting","\u002Fdocs\u002Fguide\u002Ftroubleshooting","docs\u002F4.guide\u002F6.troubleshooting",{"title":47,"path":48,"stem":49},"Build your first template","\u002Fdocs\u002Fguide\u002Fcreate-template","docs\u002F4.guide\u002F7.create-template",false,{"title":52,"icon":53,"path":54,"stem":55,"children":56,"page":50},"Templates","i-lucide-layout-template","\u002Fdocs\u002Ftemplates","docs\u002F5.templates",[57,61,65,69,73,77],{"title":58,"path":59,"stem":60},"Template anatomy","\u002Fdocs\u002Ftemplates\u002Fanatomy","docs\u002F5.templates\u002F1.anatomy",{"title":62,"path":63,"stem":64},"Template params","\u002Fdocs\u002Ftemplates\u002Fparams","docs\u002F5.templates\u002F2.params",{"title":66,"path":67,"stem":68},"Template rendering","\u002Fdocs\u002Ftemplates\u002Ftemplate-rendering","docs\u002F5.templates\u002F3.template-rendering",{"title":70,"path":71,"stem":72},"Hooks","\u002Fdocs\u002Ftemplates\u002Fhooks","docs\u002F5.templates\u002F4.hooks",{"title":74,"path":75,"stem":76},"Publish a template","\u002Fdocs\u002Ftemplates\u002Fpublish","docs\u002F5.templates\u002F5.publish",{"title":78,"path":79,"stem":80},"spin.toml","\u002Fdocs\u002Ftemplates\u002Fspin-toml","docs\u002F5.templates\u002F6.spin-toml",{"title":82,"icon":83,"path":84,"stem":85,"children":86,"page":50},"Registries","i-lucide-database","\u002Fdocs\u002Fregistries","docs\u002F6.registries",[87,91,95,99],{"title":88,"path":89,"stem":90},"Registry anatomy","\u002Fdocs\u002Fregistries\u002Fanatomy","docs\u002F6.registries\u002F1.anatomy",{"title":92,"path":93,"stem":94},"Template metadata file","\u002Fdocs\u002Fregistries\u002Ftemplate-metadata","docs\u002F6.registries\u002F2.template-metadata",{"title":96,"path":97,"stem":98},"Run a registry","\u002Fdocs\u002Fregistries\u002Frun","docs\u002F6.registries\u002F3.run",{"title":100,"path":101,"stem":102},"registry.toml","\u002Fdocs\u002Fregistries\u002Fregistry-toml","docs\u002F6.registries\u002F4.registry-toml",{"title":104,"icon":105,"path":106,"stem":107,"children":108,"page":50},"Commands","i-lucide-terminal","\u002Fdocs\u002Fcommands","docs\u002F7.commands",[109,113,117,121,125,129,133,137,141],{"title":110,"path":111,"stem":112},"spin new","\u002Fdocs\u002Fcommands\u002Fnew","docs\u002F7.commands\u002F1.new",{"title":114,"path":115,"stem":116},"spin add","\u002Fdocs\u002Fcommands\u002Fadd","docs\u002F7.commands\u002F2.add",{"title":118,"path":119,"stem":120},"spin list","\u002Fdocs\u002Fcommands\u002Flist","docs\u002F7.commands\u002F3.list",{"title":122,"path":123,"stem":124},"spin update","\u002Fdocs\u002Fcommands\u002Fupdate","docs\u002F7.commands\u002F4.update",{"title":126,"path":127,"stem":128},"spin remove","\u002Fdocs\u002Fcommands\u002Fremove","docs\u002F7.commands\u002F5.remove",{"title":130,"path":131,"stem":132},"spin search","\u002Fdocs\u002Fcommands\u002Fsearch","docs\u002F7.commands\u002F6.search",{"title":134,"path":135,"stem":136},"spin registry","\u002Fdocs\u002Fcommands\u002Fregistry","docs\u002F7.commands\u002F7.registry",{"title":138,"path":139,"stem":140},"spin init","\u002Fdocs\u002Fcommands\u002Finit","docs\u002F7.commands\u002F8.init",{"title":142,"path":143,"stem":144},"spin version","\u002Fdocs\u002Fcommands\u002Fversion","docs\u002F7.commands\u002F9.version",{"id":146,"title":13,"body":147,"description":363,"extension":364,"links":365,"meta":366,"navigation":367,"path":14,"seo":368,"stem":15,"__hash__":369},"docs\u002Fdocs\u002F3.environment-variables.md",{"type":148,"value":149,"toc":355},"minimark",[150,158,166,188,191,257,263,282,288,305,309,312,348],[151,152,154],"h2",{"id":153},"xdg_config_home",[155,156,157],"code",{},"XDG_CONFIG_HOME",[159,160,161,162,165],"p",{},"Spin stores all local state under ",[155,163,164],{},"$XDG_CONFIG_HOME\u002Fspin",". If unset, it falls back to the OS default:",[167,168,169,176,182],"ul",{},[170,171,172,173],"li",{},"Linux: ",[155,174,175],{},"~\u002F.config\u002Fspin",[170,177,178,179],{},"macOS: ",[155,180,181],{},"~\u002FLibrary\u002FApplication Support\u002Fspin",[170,183,184,185],{},"Windows: ",[155,186,187],{},"%AppData%\u002Fspin",[159,189,190],{},"State files:",[192,193,194,207],"table",{},[195,196,197],"thead",{},[198,199,200,204],"tr",{},[201,202,203],"th",{},"Path",[201,205,206],{},"Purpose",[208,209,210,224,237,247],"tbody",{},[198,211,212,218],{},[213,214,215],"td",{},[155,216,217],{},"pinned.json",[213,219,220,221,223],{},"Pinned templates from ",[155,222,114],{},".",[198,225,226,231],{},[213,227,228],{},[155,229,230],{},"registries.json",[213,232,233,234,223],{},"Registered registries from ",[155,235,236],{},"spin registry add",[198,238,239,244],{},[213,240,241],{},[155,242,243],{},"templates\u002F",[213,245,246],{},"Cached clones\u002Fcopies of pinned templates.",[198,248,249,254],{},[213,250,251],{},[155,252,253],{},"registries\u002F\u003Calias>\u002F",[213,255,256],{},"Cached clones\u002Fcopies of registered registries.",[151,258,260],{"id":259},"git_terminal_prompt",[155,261,262],{},"GIT_TERMINAL_PROMPT",[159,264,265,266,269,270,273,274,277,278,281],{},"Spin sets ",[155,267,268],{},"GIT_TERMINAL_PROMPT=0"," when running ",[155,271,272],{},"git clone",", ",[155,275,276],{},"git fetch",", and ",[155,279,280],{},"git reset"," so a missing credential never hangs the CLI waiting for a password. You do not need to set this yourself.",[151,283,285],{"id":284},"home",[155,286,287],{},"HOME",[159,289,290,291,294,295,298,299,273,301,277,303,223],{},"Used to expand ",[155,292,293],{},"~"," and ",[155,296,297],{},"~\u002F"," in local paths passed to ",[155,300,114],{},[155,302,110],{},[155,304,236],{},[151,306,308],{"id":307},"ci-non-interactive-mode","CI \u002F non-interactive mode",[159,310,311],{},"Spin detects non-interactive runs by checking whether stdin is a TTY. In non-interactive mode:",[167,313,314,330,333,339],{},[170,315,316,318,319,294,322,325,326,329],{},[155,317,110],{}," requires both ",[155,320,321],{},"\u003Cname>",[155,323,324],{},"\u003Ctemplate>"," (or ",[155,327,328],{},"--template",").",[170,331,332],{},"Prompts are skipped.",[170,334,335,338],{},[155,336,337],{},"--param"," values are used directly.",[170,340,341,294,344,347],{},[155,342,343],{},"--dry-run",[155,345,346],{},"--print-params"," also force non-interactive behaviour.",[159,349,350,351,354],{},"There is no dedicated ",[155,352,353],{},"CI"," variable; redirect stdin or use the flags above.",{"title":356,"searchDepth":357,"depth":357,"links":358},"",2,[359,360,361,362],{"id":153,"depth":357,"text":157},{"id":259,"depth":357,"text":262},{"id":284,"depth":357,"text":287},{"id":307,"depth":357,"text":308},"Spin respects a small set of environment variables for paths, git behaviour, and CI detection.","md",null,{},true,{"title":13,"description":363},"yK63eO9ktYBgSuFxlciVMlM2DFmsM80K0QLRSTlHHQA",[371,373],{"title":9,"path":10,"stem":11,"description":372,"children":-1},"Welcome. In the next few minutes you will install spin, scaffold a project from a remote template, and learn how to work offline.",{"title":23,"path":24,"stem":25,"description":374,"children":-1},"Create a new project from a template.",1787755180240]