title: ‘Development’ description: ‘Preview and deploy your Discord bots with Cytric.nl’
Cytric.nl makes it easy to develop, preview, and deploy Discord bots. Use our
dashboard and CLI tools to manage your bots efficiently.
1
Install the Cytric CLI
2
Preview your bot locally
Navigate to your bot directory and run:Your bot will run locally, and you can test its features before deploying.
Custom ports
By default, Cytric uses port 3000 for local previews. You can customize the port with the--port flag:
CLI Updates
Keep your CLI up to date for the latest features:Validating bot configuration
Check your bot’s configuration and environment variables:Deployment
Deploy your bot to Cytric.nl with a single command:Code formatting
Troubleshooting
Error: Could not load the "sharp" module using the darwin-arm64 runtime
Error: Could not load the "sharp" module using the darwin-arm64 runtime
This may be due to an outdated version of node. Try the following:
- Remove the currently-installed version of the CLI:
npm remove -g mint - Upgrade to Node v19 or higher.
- Reinstall the CLI:
npm i -g mint
Issue: Encountering an unknown error
Issue: Encountering an unknown error
Solution: Go to the root of your device and delete the
~/.mintlify folder. Then run mint dev again.