{
 "kind": "tool",
 "slug": "tree-sitter-cli",
 "path": "tools/tree-sitter-cli/",
 "name": "Tree-Sitter CLI",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Build tools and bundlers",
   "tools/build-tools/"
  ]
 ],
 "lead": "Command-line tool for generating fast incremental parsers from grammar.",
 "chips": [
  {
   "label": "Build tools and bundlers",
   "path": "tools/build-tools/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install tree-sitter-cli"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/tree-sitter/tree-sitter"
  },
  {
   "label": "Website",
   "href": "https://github.com/tree-sitter/tree-sitter#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/tree-sitter/tree-sitter"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change today",
   "note": "Latest GitHub release Nov 7, 2026. ",
   "src": "https://github.com/tree-sitter/tree-sitter"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "Not in our scan",
   "status": "info",
   "sub": "#175 of 181 in its category",
   "note": "Dependency in 0 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Tree-Sitter CLI does",
   "parts": [
    {
     "t": "prose",
     "text": "Command-line tool for generating fast incremental parsers from grammar."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Tree-Sitter CLI popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "61",
       "of": "/ 100",
       "l": "Gid Score, #847 overall"
      },
      {
       "n": "1.1M",
       "l": "downloads a week, npm"
      },
      {
       "n": "27.5K",
       "l": "GitHub stars"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Tree-Sitter CLI is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Tree-Sitter CLI is a dependency in 0 of the 6,254 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,063, Ethereum and EVM 1,777, 3D and games 3,120, agent frameworks and SDKs 13,629); counting those, it appears in 21 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is esbuild (306 projects).",
      "Projects that use it most often also use tree-sitter-javascript (95.2%), tree-sitter-python (95.2%), tree-sitter-typescript (JavaScript) (95.2%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 95.2% of its projects",
       "v": "tree-sitter-javascript",
       "path": "tools/tree-sitter-javascript-npm/"
      },
      {
       "l": "In 95.2% of its projects",
       "v": "tree-sitter-python",
       "path": "tools/tree-sitter-python/"
      },
      {
       "l": "In 95.2% of its projects",
       "v": "tree-sitter-typescript (JavaScript)",
       "path": "tools/tree-sitter-typescript-npm/"
      },
      {
       "l": "In 90.5% of its projects",
       "v": "Model Context Protocol SDK (JavaScript)",
       "path": "tools/modelcontextprotocol/"
      },
      {
       "l": "In 90.5% of its projects",
       "v": "tree-sitter-go",
       "path": "tools/tree-sitter-go/"
      },
      {
       "l": "In 85.7% of its projects",
       "v": "Anthropic SDK",
       "path": "tools/anthropic-ai/"
      },
      {
       "l": "In 85.7% of its projects",
       "v": "ansi-to-html",
       "path": "tools/ansi-to-html/"
      },
      {
       "l": "In 85.7% of its projects",
       "v": "DOMPurify",
       "path": "tools/dompurify/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Tree-Sitter CLI",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/tree-sitter",
        "Open Collective: https://opencollective.com/tree-sitter",
        "Ko-fi: https://ko-fi.com/amaanq",
        "14 GitHub sponsors"
       ]
      },
      {
       "title": "More in Build tools and bundlers",
       "path": "tools/build-tools/",
       "items": [
        {
         "text": "Vite",
         "path": "tools/vite/"
        },
        {
         "text": "Turborepo",
         "path": "tools/turbo/"
        },
        {
         "text": "Babel (JavaScript)",
         "path": "tools/babel-npm/"
        },
        {
         "text": "Laravel Vite Plugin",
         "path": "tools/laravel-vite-plugin/"
        },
        {
         "text": "React Compiler Babel Plugin",
         "path": "tools/babel-plugin-react-compiler/"
        },
        {
         "text": "Nx",
         "path": "tools/nx/"
        },
        {
         "text": "vite-tsconfig-paths",
         "path": "tools/vite-tsconfig-paths/"
        },
        {
         "text": "SWC",
         "path": "tools/swc-core/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Tree-Sitter CLI",
       "me": true,
       "facts": [
        "MIT",
        "Gid 61",
        "1.1M/wk"
       ]
      },
      {
       "name": "esbuild",
       "why": "Extremely fast JavaScript and CSS bundler and minifier written in Go.",
       "path": "tools/esbuild/",
       "facts": [
        "MIT",
        "Gid 83",
        "425M/wk"
       ]
      }
     ],
     "more": "Compare Tree-Sitter CLI with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install tree-sitter-cli"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Tree-Sitter CLI yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm tree-sitter-cli"
  ],
  [
   "Category",
   "Build tools and bundlers"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "61.4"
  ],
  [
   "Rank in category",
   "#175 of 181"
  ],
  [
   "GitHub",
   "tree-sitter/tree-sitter"
  ],
  [
   "Last change",
   "Nov 17, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/tree-sitter.png"
}