CIRCE / DOCUMENTATION
Requirements
Runtimes, peer dependencies and the Discord application you need before installing Circe.
On this page
Runtime
You need one of these. The same project runs on all of them.
| Runtime | Minimum | Notes |
|---|---|---|
| Node.js | 22.18.0 | First release that loads circe.config.ts without a flag. Works with npm, pnpm and Yarn. |
| Bun | 1.4.0 | Native Bun.serve and bun:sqlite. |
| Deno | 2.0.0 | SQLite persistence needs 2.2+. Requires explicit permissions. |
Dependencies
| Package | Range | Role |
|---|---|---|
@sxnnyside/circe |
^1.2.0 |
The framework and the circe CLI. |
discord.js |
^14.16.0 || ^14.28.0 |
Peer dependency. |
zod |
^3.24.0 || ^4.0.0 |
Peer dependency for environment validation. Valibot, ArkType or any safeParse schema also work. |
Circe has no runtime dependencies of its own.
A Discord application
Create one in the Discord Developer Portal and note:
- Application ID (General Information). This is your
clientId. - Bot token (Bot → Reset Token). Treat it like a password and never commit it.
- Public key (General Information). Only for the
httporhybridtransport.
Slash commands need no privileged intent. Add GuildMessages, MessageContent or GuildMembers only if you read those events, and enable them in the portal too.
Check it with circe doctor
After installing, circe doctor verifies the runtime version, configuration, environment schema, token and dependencies, and tells you how to fix each problem.
npx circe doctor