21st CLI — find, install & generate from the terminal The CLI ( , bin ) is the command-line surface for the 21st.dev catalog. Search first, install what fits, and only hand-write UI when nothing matches. To publish your own components/themes/templates, use the skill; to publish a project's design as a theme, use . Auth (do this once) Two interchangeable credentials, both sent as the API key: 1. Login session — opens the browser and saves a token to . Best for interactive/dev machines. 2. API key — from https://21st.dev/mcp (or https://21st.dev/settings/api-keys ). Pass via or the / env var. B…