Work in progress
The content of this page was not yet updated for Godot
4.0
and may be outdated. If you know how to improve this page or you can confirm
that it's up to date, feel free to open a pull request.
Command line tutorial¶
Some developers like using the command line extensively. Godot is designed to be friendly to them, so here are the steps for working entirely from the command line. Given the engine relies on almost no external libraries, initialization times are pretty fast, making it suitable for this workflow.
Note
On Windows and Linux, you can run a Godot binary in a terminal by specifying its relative or absolute path.
On macOS, the process is different due to Godot being contained within an
.app
bundle (which is a folder, not a file). To run a Godot binary
from a terminal on macOS, you have to cd
to the folder where the Godot
application bundle is located, then run Godot.app/Contents/MacOS/Godot
followed by any command line arguments. If you've renamed the application
bundle from Godot
to another name, make sure to edit this command line
accordingly.
Command line reference¶
General options
Command |
Description |
|
Display the list of command line options. |
|
Display the version string. |
|
Use verbose stdout mode. |
|
Quiet mode, silences stdout messages. Errors are still displayed. |
Run options
Command |
Description |
|
Separator for user-provided arguments. Following arguments are not used by the engine, but can be read from |
|
Start the editor instead of running the scene (target=editor must be used). |
|
Start the Project Manager, even if a project is auto-detected (target=editor must be used). |
|
Start the editor debug server ( |
|
Quit after the first iteration. |
|
Use a specific locale. |
|