Cardinal Editor provides a visual interface for inspecting and interacting with Cardinal within your World Engine projects.
Cardinal Editor is managed by World CLI, which is the recommended way to create, manage, and deploy World Engine projects. To install the latest version of World CLI on your system, run the following command:
curl https://install.world.dev/cli! | bash
Note: World CLI depends on Docker. Check out the installation guide if Docker isn't installed in your system.
Cardinal Editor automatically launches at http://localhost:3000
while running Cardinal in development mode.
world cardinal dev
By default, Cardinal Editor will only start in development mode. If you want to start it in production, run this command:
world cardinal start --editor
- Node.js (version: >=18.x)
- Pnpm (recommended)
- Docker
- World CLI
To set up local development, you'll need to start both the Cardinal Editor and a World Engine project.
# Clone the GitHub repo
git clone https://github.com/Argus-Labs/cardinal-editor
# Go to the project folder
cd cardinal-editor
# Install dependencies
pnpm i
# Run the development server
pnpm dev
# Create a new World Engine project
world create my-game
# Go to the project folder
cd my-game
# Start Cardinal in dev mode without the Cardinal Editor
world cardinal dev --editor=false