Prerequisites
Before you begin, make sure your local machine has the following installed:-
Go:
World Engine games are written in Go. This guide requires a minimum Go version of
v1.25.4. To check that Go is installed on your computer, rungo version. - Docker: The World Engine development server runs several local services inside containers. Follow the official instructions to install Docker.
Installing World CLI
The World CLI is the command-line tool for creating, managing, and deploying World Engine projects. To install the latest version:- macOS / Linux
- Windows
Creating a Project
Now you are ready to create a new World Engine project. Thesetup command will launch an interactive tool to help you configure your project:
TODO: Add an updated image of the selection UI
Stopping the Server
Press Ctrl+C to stop the server, or runworld stop from another terminal.
To reset the world state, run world purge. This removes all game data and restores the world to a clean state, which is useful when you want to start fresh during development.