CLI
Installing the CLI
Install the mugon CLI and what your machine needs for each template.
Install
macOS and Linux:
curl -fsSL https://mugon.net/install.sh | shWindows (PowerShell):
irm https://mugon.net/install.ps1 | iexCheck the installation:
mugon --versionStaging: to install the CLI for the staging environment, use
https://stage.mugon.netinstead ofhttps://mugon.netin the commands above, and point the CLI at the staging API, see working with the CLI.
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.