{
 "kind": "tool",
 "slug": "citty",
 "path": "tools/citty/",
 "name": "citty",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Dev workflow and config",
   "tools/dev-workflow/"
  ]
 ],
 "lead": "Small, typed CLI builder from the UnJS team.",
 "chips": [
  {
   "label": "Dev workflow and config",
   "path": "tools/dev-workflow/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install citty"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/unjs/citty"
  },
  {
   "label": "Website",
   "href": "https://github.com/unjs/citty#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/unjs/citty"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Apr 1, 2026. ",
   "src": "https://github.com/unjs/citty"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "11 projects",
   "status": "info",
   "sub": "#102 of 299 in its category",
   "note": "Dependency in 11 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "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 citty does",
   "parts": [
    {
     "t": "prose",
     "text": "Small, typed CLI builder from the UnJS team."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "citty popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "57",
       "of": "/ 100",
       "l": "Gid Score, #1296 overall"
      },
      {
       "n": "50.9M",
       "l": "downloads a week, npm"
      },
      {
       "n": "1,371",
       "l": "GitHub stars"
      },
      {
       "n": "11",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "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 citty is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "citty joined the catalog on its public numbers (50,904,394 downloads a week on npm and 1,371 GitHub stars), not on our project count: it is a dependency in 19 public GitHub projects of our scan, 11 of them set up for AI coding agents.",
      "The most used alternative in our scan is Commander (174 projects).",
      "Projects that use it most often also use dotenv (57.9%), Model Context Protocol SDK (JavaScript) (47.4%), Zod (68.4%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "9 projects, 0.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 57.9% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 47.4% of its projects",
       "v": "Model Context Protocol SDK (JavaScript)",
       "path": "tools/modelcontextprotocol/"
      },
      {
       "l": "In 68.4% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 52.6% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 57.9% of its projects",
       "v": "Vite",
       "path": "tools/vite/"
      },
      {
       "l": "In 57.9% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 36.8% of its projects",
       "v": "fs-extra",
       "path": "tools/fs-extra/"
      },
      {
       "l": "In 36.8% of its projects",
       "v": "h3 (JavaScript)",
       "path": "tools/h3-npm/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about citty",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Dev workflow and config",
       "path": "tools/dev-workflow/",
       "items": [
        {
         "text": "dotenv",
         "path": "tools/dotenv/"
        },
        {
         "text": "Husky",
         "path": "tools/husky/"
        },
        {
         "text": "python-dotenv",
         "path": "tools/python-dotenv/"
        },
        {
         "text": "lint-staged",
         "path": "tools/lint-staged/"
        },
        {
         "text": "concurrently",
         "path": "tools/concurrently/"
        },
        {
         "text": "Rich",
         "path": "tools/rich/"
        },
        {
         "text": "Pydantic Settings",
         "path": "tools/pydantic-settings/"
        },
        {
         "text": "cross-env",
         "path": "tools/cross-env/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "citty",
       "me": true,
       "facts": [
        "MIT",
        "Gid 57",
        "50.9M/wk"
       ]
      },
      {
       "name": "Commander",
       "why": "Complete Node.js solution for building command-line interfaces with minimal boilerplate.",
       "path": "tools/commander/",
       "facts": [
        "MIT",
        "Gid 82",
        "788M/wk"
       ]
      }
     ],
     "more": "Compare citty with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install citty"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for citty yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm citty"
  ],
  [
   "Category",
   "Dev workflow and config"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "56.6"
  ],
  [
   "Rank in category",
   "#102 of 299"
  ],
  [
   "GitHub",
   "unjs/citty"
  ],
  [
   "Last change",
   "Nov 23, 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/unjs.png"
}