![Forrest logo](/images/logo.png)
godot:tldr:8ed08
godot: Edit a project (the current directory must contain a `project.godot` file).
$ godot -e
try on your machine
The command "godot -e" refers to running the Godot game engine in "export" mode. Here's a breakdown of the command:
- "godot": This is the executable file of the Godot game engine. When executed, it launches the engine.
- "-e": This is a command-line parameter or option that tells Godot to run in export mode. Export mode is used for exporting a project to a specific platform, whether it's for a desktop operating system (like Windows, macOS, or Linux) or a mobile platform (like Android or iOS). In this mode, the engine opens the project but skips the editor interface. Instead, it executes the game as if it were running from the exported build, allowing you to test how the build will behave on the target platform.
Using "godot -e" is useful for quickly testing your game in export mode without having to build and distribute separate executable files or packages.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.