CLI
Installing the CLI
Install the mugon CLI and what your machine needs for each template.
Install
macOS and Linux:
curl -fsSL https://tools.mugon.net/cli/install.sh | shWindows (PowerShell):
irm https://tools.mugon.net/cli/install.ps1 | iexCheck the installation:
mugon --versionStaging: the staging platform uses the same CLI. Install it as above and point it at the staging API, see working with the CLI.
The Mugon Editor
The scene editor and asset tools are an add-on managed by the CLI:
mugon editor install # newest editor compatible with this CLI
mugon editor update
mugon editor uninstall # --version X.Y.Z for one version, --all for every version
mugon editor # runs the installed editorEditors are installed per version under ~/.mugon/editor. Importing Unity packs additionally
downloads the third-party FBX2glTF converter to ~/.mugon/tools on first use.
What each template needs
The CLI itself has no dependencies. The tools that build your game depend on the template you
pick in mugon init:
| Template | You need |
|---|---|
minimal | Nothing. |
typescript | Node.js with npm. |
bevy | A Rust toolchain with the wasm32-unknown-unknown target, the wasm-bindgen CLI in the same version as the wasm-bindgen crate your game resolves to, and Node.js with npm (the template bundles the game with Vite). |
Next
Log in and create a project, or read what every command does.