Development Environment Setup
This guide will help you prepare your development environment for working with Unchained Engine.
System Requirements
Required Software
Node.js (v22 or newer)
Unchained Engine requires Node.js 22+ for optimal performance and compatibility.
Check your version:
node --version
Install or update Node.js:
- Using nvm (recommended):
nvm install 22
nvm use 22 - Direct download from nodejs.org
MongoDB (v6.0 or newer)
Unchained uses MongoDB as its primary database, but you do not have to install MongoDB!
Unless you set an explicit connection string, Unchained will automatically download an appropriate version and run it locally for you, thanks to MongoDB Memory Server.
Alternative: MongoDB Atlas (Cloud)
- Create a free account at MongoDB Atlas
- Create a new cluster
- Get your connection string and set it via
MONGO_URL
environment variable
Alternative: PostgreSQL via FerretDB
- Set up PostgreSQL
- Start the FerretDB Docker container
- Get your connection string and set it via the
MONGO_URL
environment variable - Set the
UNCHAINED_DOCUMENTDB_COMPAT_MODE
environment variable to1
Next Steps
Your environment is now ready! Continue to Initialize Your Project →