[{"data":1,"prerenderedAt":616},["ShallowReactive",2],{"doc-seo-\u002Fdocs\u002Fguide\u002Finstallation":3,"content-query-2sM71W9K1T":6},{"title":4,"description":5},"Installation & CLI","Install Strata via Bun\u002Fnpm or standalone binary, initialize a project, and use the CLI commands.",{"_path":7,"_dir":8,"_draft":9,"_partial":9,"_locale":10,"title":4,"description":5,"badge":11,"body":12,"_type":610,"_id":611,"_source":612,"_file":613,"_stem":614,"_extension":615},"\u002Fdocs\u002Fguide\u002Finstallation","guide",false,"","Guide",{"type":13,"children":14,"toc":599},"root",[15,32,39,78,83,118,124,129,138,174,182,198,204,217,237,266,272,277,284,411,417,593],{"type":16,"tag":17,"props":18,"children":19},"element","p",{},[20,23,30],{"type":21,"value":22},"text","Strata is published on npm as ",{"type":16,"tag":24,"props":25,"children":27},"code",{"className":26},[],[28],{"type":21,"value":29},"@dimassetoid\u002Fstrata-mcp",{"type":21,"value":31}," and also ships precompiled standalone binaries for Linux, macOS, and Windows.",{"type":16,"tag":33,"props":34,"children":36},"h2",{"id":35},"install-via-bun-recommended",[37],{"type":21,"value":38},"Install via Bun (Recommended)",{"type":16,"tag":40,"props":41,"children":45},"pre",{"className":42,"code":43,"language":44,"meta":10,"style":10},"language-bash shiki shiki-themes github-light github-dark","bun add -g @dimassetoid\u002Fstrata-mcp\n","bash",[46],{"type":16,"tag":24,"props":47,"children":48},{"__ignoreMap":10},[49],{"type":16,"tag":50,"props":51,"children":54},"span",{"class":52,"line":53},"line",1,[55,61,67,73],{"type":16,"tag":50,"props":56,"children":58},{"style":57},"--shiki-default:#6F42C1;--shiki-dark:#B392F0",[59],{"type":21,"value":60},"bun",{"type":16,"tag":50,"props":62,"children":64},{"style":63},"--shiki-default:#032F62;--shiki-dark:#9ECBFF",[65],{"type":21,"value":66}," add",{"type":16,"tag":50,"props":68,"children":70},{"style":69},"--shiki-default:#005CC5;--shiki-dark:#79B8FF",[71],{"type":21,"value":72}," -g",{"type":16,"tag":50,"props":74,"children":75},{"style":63},[76],{"type":21,"value":77}," @dimassetoid\u002Fstrata-mcp\n",{"type":16,"tag":17,"props":79,"children":80},{},[81],{"type":21,"value":82},"Or run directly without a global install:",{"type":16,"tag":40,"props":84,"children":86},{"className":42,"code":85,"language":44,"meta":10,"style":10},"bunx --package @dimassetoid\u002Fstrata-mcp strata --help\n",[87],{"type":16,"tag":24,"props":88,"children":89},{"__ignoreMap":10},[90],{"type":16,"tag":50,"props":91,"children":92},{"class":52,"line":53},[93,98,103,108,113],{"type":16,"tag":50,"props":94,"children":95},{"style":57},[96],{"type":21,"value":97},"bunx",{"type":16,"tag":50,"props":99,"children":100},{"style":69},[101],{"type":21,"value":102}," --package",{"type":16,"tag":50,"props":104,"children":105},{"style":63},[106],{"type":21,"value":107}," @dimassetoid\u002Fstrata-mcp",{"type":16,"tag":50,"props":109,"children":110},{"style":63},[111],{"type":21,"value":112}," strata",{"type":16,"tag":50,"props":114,"children":115},{"style":69},[116],{"type":21,"value":117}," --help\n",{"type":16,"tag":33,"props":119,"children":121},{"id":120},"install-as-a-standalone-binary",[122],{"type":21,"value":123},"Install as a Standalone Binary",{"type":16,"tag":17,"props":125,"children":126},{},[127],{"type":21,"value":128},"If you do not want a Node.js or Bun dependency on your machine:",{"type":16,"tag":17,"props":130,"children":131},{},[132],{"type":16,"tag":133,"props":134,"children":135},"strong",{},[136],{"type":21,"value":137},"Linux & macOS:",{"type":16,"tag":40,"props":139,"children":141},{"className":42,"code":140,"language":44,"meta":10,"style":10},"curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002FShironim\u002Fstrata-mcp\u002Fmaster\u002Fscripts\u002Finstall.sh | bash\n",[142],{"type":16,"tag":24,"props":143,"children":144},{"__ignoreMap":10},[145],{"type":16,"tag":50,"props":146,"children":147},{"class":52,"line":53},[148,153,158,163,169],{"type":16,"tag":50,"props":149,"children":150},{"style":57},[151],{"type":21,"value":152},"curl",{"type":16,"tag":50,"props":154,"children":155},{"style":69},[156],{"type":21,"value":157}," -fsSL",{"type":16,"tag":50,"props":159,"children":160},{"style":63},[161],{"type":21,"value":162}," https:\u002F\u002Fraw.githubusercontent.com\u002FShironim\u002Fstrata-mcp\u002Fmaster\u002Fscripts\u002Finstall.sh",{"type":16,"tag":50,"props":164,"children":166},{"style":165},"--shiki-default:#D73A49;--shiki-dark:#F97583",[167],{"type":21,"value":168}," |",{"type":16,"tag":50,"props":170,"children":171},{"style":57},[172],{"type":21,"value":173}," bash\n",{"type":16,"tag":17,"props":175,"children":176},{},[177],{"type":16,"tag":133,"props":178,"children":179},{},[180],{"type":21,"value":181},"Windows (PowerShell):",{"type":16,"tag":40,"props":183,"children":187},{"className":184,"code":185,"language":186,"meta":10,"style":10},"language-powershell shiki shiki-themes github-light github-dark","irm https:\u002F\u002Fraw.githubusercontent.com\u002FShironim\u002Fstrata-mcp\u002Fmaster\u002Fscripts\u002Finstall.ps1 | iex\n","powershell",[188],{"type":16,"tag":24,"props":189,"children":190},{"__ignoreMap":10},[191],{"type":16,"tag":50,"props":192,"children":193},{"class":52,"line":53},[194],{"type":16,"tag":50,"props":195,"children":196},{},[197],{"type":21,"value":185},{"type":16,"tag":33,"props":199,"children":201},{"id":200},"initialize-your-project",[202],{"type":21,"value":203},"Initialize Your Project",{"type":16,"tag":17,"props":205,"children":206},{},[207,209,215],{"type":21,"value":208},"Run ",{"type":16,"tag":24,"props":210,"children":212},{"className":211},[],[213],{"type":21,"value":214},"strata init",{"type":21,"value":216}," inside your repository root:",{"type":16,"tag":40,"props":218,"children":220},{"className":42,"code":219,"language":44,"meta":10,"style":10},"strata init\n",[221],{"type":16,"tag":24,"props":222,"children":223},{"__ignoreMap":10},[224],{"type":16,"tag":50,"props":225,"children":226},{"class":52,"line":53},[227,232],{"type":16,"tag":50,"props":228,"children":229},{"style":57},[230],{"type":21,"value":231},"strata",{"type":16,"tag":50,"props":233,"children":234},{"style":63},[235],{"type":21,"value":236}," init\n",{"type":16,"tag":17,"props":238,"children":239},{},[240,242,248,250,256,258,264],{"type":21,"value":241},"This creates the local SQLite index at ",{"type":16,"tag":24,"props":243,"children":245},{"className":244},[],[246],{"type":21,"value":247},".strata\u002Fgraph.db",{"type":21,"value":249}," (and adds ",{"type":16,"tag":24,"props":251,"children":253},{"className":252},[],[254],{"type":21,"value":255},".strata\u002F",{"type":21,"value":257}," to ",{"type":16,"tag":24,"props":259,"children":261},{"className":260},[],[262],{"type":21,"value":263},".gitignore",{"type":21,"value":265},"), plus optional MCP client config, agent instructions, and post-write sync hooks.",{"type":16,"tag":33,"props":267,"children":269},{"id":268},"cli-reference",[270],{"type":21,"value":271},"CLI Reference",{"type":16,"tag":17,"props":273,"children":274},{},[275],{"type":21,"value":276},"Every MCP tool has a matching CLI command so you can test the exact same output from your terminal.",{"type":16,"tag":278,"props":279,"children":281},"h3",{"id":280},"operational-commands",[282],{"type":21,"value":283},"Operational Commands",{"type":16,"tag":285,"props":286,"children":287},"table",{},[288,308],{"type":16,"tag":289,"props":290,"children":291},"thead",{},[292],{"type":16,"tag":293,"props":294,"children":295},"tr",{},[296,303],{"type":16,"tag":297,"props":298,"children":300},"th",{"align":299},"left",[301],{"type":21,"value":302},"Command",{"type":16,"tag":297,"props":304,"children":305},{"align":299},[306],{"type":21,"value":307},"Description",{"type":16,"tag":309,"props":310,"children":311},"tbody",{},[312,338,362,386],{"type":16,"tag":293,"props":313,"children":314},{},[315,325],{"type":16,"tag":316,"props":317,"children":318},"td",{"align":299},[319],{"type":16,"tag":24,"props":320,"children":322},{"className":321},[],[323],{"type":21,"value":324},"strata serve",{"type":16,"tag":316,"props":326,"children":327},{"align":299},[328,330,336],{"type":21,"value":329},"Start the MCP server over ",{"type":16,"tag":24,"props":331,"children":333},{"className":332},[],[334],{"type":21,"value":335},"stdio",{"type":21,"value":337}," for AI coding clients.",{"type":16,"tag":293,"props":339,"children":340},{},[341,350],{"type":16,"tag":316,"props":342,"children":343},{"align":299},[344],{"type":16,"tag":24,"props":345,"children":347},{"className":346},[],[348],{"type":21,"value":349},"strata init [dir]",{"type":16,"tag":316,"props":351,"children":352},{"align":299},[353,355,360],{"type":21,"value":354},"Initialize ",{"type":16,"tag":24,"props":356,"children":358},{"className":357},[],[359],{"type":21,"value":247},{"type":21,"value":361},", MCP configs, and agent playbooks.",{"type":16,"tag":293,"props":363,"children":364},{},[365,374],{"type":16,"tag":316,"props":366,"children":367},{"align":299},[368],{"type":16,"tag":24,"props":369,"children":371},{"className":370},[],[372],{"type":21,"value":373},"strata sync [dir]",{"type":16,"tag":316,"props":375,"children":376},{"align":299},[377,379,384],{"type":21,"value":378},"Incrementally update ",{"type":16,"tag":24,"props":380,"children":382},{"className":381},[],[383],{"type":21,"value":247},{"type":21,"value":385}," after file changes.",{"type":16,"tag":293,"props":387,"children":388},{},[389,398],{"type":16,"tag":316,"props":390,"children":391},{"align":299},[392],{"type":16,"tag":24,"props":393,"children":395},{"className":394},[],[396],{"type":21,"value":397},"strata stats [dir]",{"type":16,"tag":316,"props":399,"children":400},{"align":299},[401,403,409],{"type":21,"value":402},"Print local tool usage stats (latency, call counts, errors) from ",{"type":16,"tag":24,"props":404,"children":406},{"className":405},[],[407],{"type":21,"value":408},".strata\u002Fstrata.log",{"type":21,"value":410},".",{"type":16,"tag":278,"props":412,"children":414},{"id":413},"analysis-commands",[415],{"type":21,"value":416},"Analysis Commands",{"type":16,"tag":285,"props":418,"children":419},{},[420,440],{"type":16,"tag":289,"props":421,"children":422},{},[423],{"type":16,"tag":293,"props":424,"children":425},{},[426,430,435],{"type":16,"tag":297,"props":427,"children":428},{"align":299},[429],{"type":21,"value":302},{"type":16,"tag":297,"props":431,"children":432},{"align":299},[433],{"type":21,"value":434},"Matching MCP Tool",{"type":16,"tag":297,"props":436,"children":437},{"align":299},[438],{"type":21,"value":439},"Example",{"type":16,"tag":309,"props":441,"children":442},{},[443,473,503,533,563],{"type":16,"tag":293,"props":444,"children":445},{},[446,455,464],{"type":16,"tag":316,"props":447,"children":448},{"align":299},[449],{"type":16,"tag":24,"props":450,"children":452},{"className":451},[],[453],{"type":21,"value":454},"strata map [dir]",{"type":16,"tag":316,"props":456,"children":457},{"align":299},[458],{"type":16,"tag":24,"props":459,"children":461},{"className":460},[],[462],{"type":21,"value":463},"map_workspace",{"type":16,"tag":316,"props":465,"children":466},{"align":299},[467],{"type":16,"tag":24,"props":468,"children":470},{"className":469},[],[471],{"type":21,"value":472},"strata map --view routes",{"type":16,"tag":293,"props":474,"children":475},{},[476,485,494],{"type":16,"tag":316,"props":477,"children":478},{"align":299},[479],{"type":16,"tag":24,"props":480,"children":482},{"className":481},[],[483],{"type":21,"value":484},"strata inspect \u003Cfile>",{"type":16,"tag":316,"props":486,"children":487},{"align":299},[488],{"type":16,"tag":24,"props":489,"children":491},{"className":490},[],[492],{"type":21,"value":493},"inspect_file",{"type":16,"tag":316,"props":495,"children":496},{"align":299},[497],{"type":16,"tag":24,"props":498,"children":500},{"className":499},[],[501],{"type":21,"value":502},"strata inspect apps\u002Fweb\u002Fpages\u002Findex.vue",{"type":16,"tag":293,"props":504,"children":505},{},[506,515,524],{"type":16,"tag":316,"props":507,"children":508},{"align":299},[509],{"type":16,"tag":24,"props":510,"children":512},{"className":511},[],[513],{"type":21,"value":514},"strata graph \u003Cquery> [file]",{"type":16,"tag":316,"props":516,"children":517},{"align":299},[518],{"type":16,"tag":24,"props":519,"children":521},{"className":520},[],[522],{"type":21,"value":523},"query_graph",{"type":16,"tag":316,"props":525,"children":526},{"align":299},[527],{"type":16,"tag":24,"props":528,"children":530},{"className":529},[],[531],{"type":21,"value":532},"strata graph impact src\u002Fcomponents\u002FButton.vue",{"type":16,"tag":293,"props":534,"children":535},{},[536,545,554],{"type":16,"tag":316,"props":537,"children":538},{"align":299},[539],{"type":16,"tag":24,"props":540,"children":542},{"className":541},[],[543],{"type":21,"value":544},"strata read [file]",{"type":16,"tag":316,"props":546,"children":547},{"align":299},[548],{"type":16,"tag":24,"props":549,"children":551},{"className":550},[],[552],{"type":21,"value":553},"read_slice",{"type":16,"tag":316,"props":555,"children":556},{"align":299},[557],{"type":16,"tag":24,"props":558,"children":560},{"className":559},[],[561],{"type":21,"value":562},"strata read src\u002FApp.vue --block scriptSetup",{"type":16,"tag":293,"props":564,"children":565},{},[566,575,584],{"type":16,"tag":316,"props":567,"children":568},{"align":299},[569],{"type":16,"tag":24,"props":570,"children":572},{"className":571},[],[573],{"type":21,"value":574},"strata search \u003Cquery>",{"type":16,"tag":316,"props":576,"children":577},{"align":299},[578],{"type":16,"tag":24,"props":579,"children":581},{"className":580},[],[582],{"type":21,"value":583},"search_code",{"type":16,"tag":316,"props":585,"children":586},{"align":299},[587],{"type":16,"tag":24,"props":588,"children":590},{"className":589},[],[591],{"type":21,"value":592},"strata search Button --kind component_usage",{"type":16,"tag":594,"props":595,"children":596},"style",{},[597],{"type":21,"value":598},"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);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":10,"searchDepth":600,"depth":600,"links":601},3,[602,604,605,606],{"id":35,"depth":603,"text":38},2,{"id":120,"depth":603,"text":123},{"id":200,"depth":603,"text":203},{"id":268,"depth":603,"text":271,"children":607},[608,609],{"id":280,"depth":600,"text":283},{"id":413,"depth":600,"text":416},"markdown","content:docs:guide:installation.md","content","docs\u002Fguide\u002Finstallation.md","docs\u002Fguide\u002Finstallation","md",1795576105518]