tl;dr:npm i -g rules-cli then rules add starter/nextjs-rules
rules is a CLI built for managing rules across any AI IDE. Rules are markdown files that encode workflows, preferences, tech stack details, and more in plain natural language so you can get better help from LLMs.
To make your rules available to others, you can publish using rules publish:
# Loginrules login# Create a rules.jsonrules init# Create a rulerules create# Publishrules publish
This would make your rules available to download with rules add <name-of-rules>.You can use our template repository to automate publishing with GitHub Actions.
rules is open-sourced under the Apache 2.0 license. If you’re interested in contributing, learn more here.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Rules CLI Docs","colors":{"primary":"#54b8a7","light":"#429489","dark":"#54b8a7"},"favicon":"/favicon.ico","logo":{"light":"https://mintcdn.com/continue/wCfc_gYUPPQTpoLp/favicon.ico?fit=max\u0026auto=format\u0026n=wCfc_gYUPPQTpoLp\u0026q=85\u0026s=f0de9c2c8fce2d0ace69aa6fa3c6934c","dark":"https://mintcdn.com/continue/wCfc_gYUPPQTpoLp/favicon.ico?fit=max\u0026auto=format\u0026n=wCfc_gYUPPQTpoLp\u0026q=85\u0026s=f0de9c2c8fce2d0ace69aa6fa3c6934c"},"background":{"decoration":null,"color":{"light":"#ffffff","dark":"#0a0d0e"}},"navbar":{"links":[],"primary":null},"footer":{"socials":{}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"continue","hasAudioNarration":false,"actualSubdomain":"continue","customDomains":["rules.so"],"gitSource":{"type":"github","owner":"continuedev","repo":"rules","deployBranch":"main","contentDirectory":"docs-main","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20c406fc6c845dd413197a","collectionId":"7258808f-8072-4eaa-a344-86188d1e9ae9","schemaVersion":"v2"},"entitlements":{},"buildId":"6a20c406fc6c845dd413197a:success","clientVersion":"0.0.3969","searchFilterCounts":[{"language":"default","tag":"Rules","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"index","slug":"/","pageMetadata":{"title":"Rules CLI","mode":"center","description":null,"href":"/index"},"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`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`tl;dr:`}),` `,_jsx(_components.code,{children:`npm i -g rules-cli`}),` then `,_jsx(_components.code,{children:`rules add starter/nextjs-rules`})]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`rules`}),` is a CLI built for managing rules across any AI IDE. Rules are markdown files that encode workflows, preferences, tech stack details, and more in plain natural language so you can get better help from LLMs.`]}),`\n`,_jsxs(Heading,{level:`2`,id:`install-rules`,children:[`Install `,_jsx(_components.code,{children:`rules`})]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`rules`}),` CLI can be installed using NPM:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` i`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -g`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rules-cli`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`add-rules`,children:`Add rules`}),`\n`,_jsxs(_components.p,{children:[`To download rules to your repository you can use `,_jsx(_components.code,{children:`rules add`}),`. For example:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`rules`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` starter/nextjs-rules`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This will add them to your project in a local `,_jsx(_components.code,{children:`.rules`}),` folder.`]}),`\n`,_jsx(_components.p,{children:`You can also download from GitHub rather than the rules registry:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`rules`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gh:continuedev/awesome-rules/ruby`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`render-rules`,children:`Render rules`}),`\n`,_jsxs(_components.p,{children:[`To use rules with your AI IDE of choice, you can “render” them to the necessary format and location using `,_jsx(_components.code,{children:`rules render`}),`. For example,`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`rules`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` render`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cursor`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`will copy all of the `,_jsx(_components.code,{children:`.rules/`}),` into a `,_jsx(_components.code,{children:`.cursor/rules/`}),` folder. `,_jsx(_components.code,{children:`rules`}),` currently supports the following formats:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`continue`}),` - `,_jsx(_components.code,{children:`.continue/rules/*.md`}),` (Continue Dev rules)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`cursor`}),` - `,_jsx(_components.code,{children:`.cursor/rules/*.mdc`}),` (Cursor rules)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`windsurf`}),` - `,_jsx(_components.code,{children:`.windsurf/rules/*.md`}),` (Windsurf rules)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`claude`}),` - `,_jsx(_components.code,{children:`CLAUDE.md`}),` (Claude Code single file)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`copilot`}),` - `,_jsx(_components.code,{children:`.github/instructions/*.instructions.md`}),` (GitHub Copilot instructions)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`codex`}),` - `,_jsx(_components.code,{children:`AGENT.md`}),` (Codex single file)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`cline`}),` - `,_jsx(_components.code,{children:`.clinerules/*.md`}),` (Cline rules)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`cody`}),` - `,_jsx(_components.code,{children:`.sourcegraph/*.rule.md`}),` (Sourcegraph Cody rules)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`amp`}),` - `,_jsx(_components.code,{children:`AGENT.md`}),` (Amp single file)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`publish-rules`,children:`Publish rules`}),`\n`,_jsxs(_components.p,{children:[`To make your rules available to others, you can publish using `,_jsx(_components.code,{children:`rules publish`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Login`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`rules`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create a rules.json`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`rules`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` init`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create a rule`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`rules`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Publish`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`rules`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` publish`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This would make your rules available to download with `,_jsx(_components.code,{children:`rules add \u003cname-of-rules>`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`You can use our `,_jsx(_components.a,{href:`https://github.com/continuedev/rules-template`,children:`template repository`}),` to automate publishing with GitHub Actions.`]}),`\n`,_jsx(Heading,{level:`2`,id:`helping-users-use-your-rules`,children:`Helping users use your rules`}),`\n`,_jsxs(_components.p,{children:[`If you are building a developer tool and want to optimize how AI IDEs work with your tool, `,_jsx(_components.code,{children:`rules`}),` makes it easy to give your users the best experience.`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Make your account on the `,_jsx(_components.a,{href:`https://hub.continue.dev/signup`,children:`registry`}),` and create an organization`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`#publish-rules`,children:`Publish your rules`})}),`\n`,_jsxs(_components.li,{children:[`Mention the corresponding `,_jsx(_components.code,{children:`rules add \u003cname-of-rules>`}),` command in your documentation`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`contributing`,children:`Contributing`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.a,{href:`https://github.com/continuedev/rules`,children:[_jsx(_components.code,{children:`rules`}),` is open-sourced`]}),` under the Apache 2.0 license. If you’re interested in contributing, learn more `,_jsx(_components.a,{href:`https://github.com/continuedev/rules/blob/main/CONTRIBUTING.md`,children:`here`}),`.`]})]})}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":"Rules CLI","mode":"center","description":null,"href":"/index"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Install rules","slug":"install-rules","depth":2,"children":[]},{"title":"Add rules","slug":"add-rules","depth":2,"children":[]},{"title":"Render rules","slug":"render-rules","depth":2,"children":[]},{"title":"Publish rules","slug":"publish-rules","depth":2,"children":[]},{"title":"Helping users use your rules","slug":"helping-users-use-your-rules","depth":2,"children":[{"title":"Contributing","slug":"contributing","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"continue","siteName":"Rules CLI Docs","title":"Rules CLI - Rules CLI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T23:52:49.526Z","originalFileLocation":"index.mdx"},"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=\"application-name\" content=\"Rules CLI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/continue/G9wbjADkMtWcCXmH/_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/continue/G9wbjADkMtWcCXmH/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/continue/G9wbjADkMtWcCXmH/_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/continue/G9wbjADkMtWcCXmH/_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/continue/G9wbjADkMtWcCXmH/_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/continue/G9wbjADkMtWcCXmH/_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/continue/G9wbjADkMtWcCXmH/_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/continue/G9wbjADkMtWcCXmH/_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/continue/G9wbjADkMtWcCXmH/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Rules CLI - Rules CLI Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rules CLI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://rules.so\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://continue.mintlify.app/_mintlify/api/og/v2?division=Rules\u0026amp;title=Rules+CLI\u0026amp;theme=21d7e38b04467f3ae84877a0\u0026amp;signature=0e770e3375f4a75a406aa99258a051f501ff2725a01b657b42e4f4b18730cfd2\">\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=\"Rules CLI - Rules CLI Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://continue.mintlify.app/_mintlify/api/og/v2?division=Rules\u0026amp;title=Rules+CLI\u0026amp;theme=21d7e38b04467f3ae84877a0\u0026amp;signature=0e770e3375f4a75a406aa99258a051f501ff2725a01b657b42e4f4b18730cfd2\">\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/continue/G9wbjADkMtWcCXmH/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rules CLI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#54b8a7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://rules.so\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/index.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://rules.so/#organization\",\"name\":\"Rules CLI Docs\",\"url\":\"https://rules.so\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/continue/wCfc_gYUPPQTpoLp/favicon.ico?fit=max\u0026auto=format\u0026n=wCfc_gYUPPQTpoLp\u0026q=85\u0026s=f0de9c2c8fce2d0ace69aa6fa3c6934c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://rules.so#website\",\"name\":\"Rules CLI Docs\",\"url\":\"https://rules.so\",\"publisher\":{\"@id\":\"https://rules.so/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://rules.so/#webpage\",\"url\":\"https://rules.so/\",\"name\":\"Rules CLI\",\"dateModified\":\"2026-01-06T23:52:49.526Z\",\"isPartOf\":{\"@id\":\"https://rules.so#website\"},\"breadcrumb\":{\"@id\":\"https://rules.so/#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://rules.so/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Rules\",\"item\":\"https://rules.so/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rules CLI\",\"item\":\"https://rules.so/\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://rules.so/#article\",\"headline\":\"Rules CLI\",\"name\":\"Rules CLI\",\"url\":\"https://rules.so/\",\"mainEntityOfPage\":{\"@id\":\"https://rules.so/#webpage\"},\"dateModified\":\"2026-01-06T23:52:49.526Z\",\"publisher\":{\"@id\":\"https://rules.so/#organization\"},\"isPartOf\":{\"@id\":\"https://rules.so#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rules CLI Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Rules CLI Docs","nav":{"global":null,"groups":[{"group":"Rules","pages":[{"title":"Rules CLI","mode":"center","href":""}]}]},"title":"Rules CLI - Rules CLI Docs","buildId":"dpl_G8u2B2Ji9qJYF9umedjv293TxycS","deploymentId":"dpl_G8u2B2Ji9qJYF9umedjv293TxycS","dynamics":[],"chunks":[]}