For Agents | This page is available as markdown: https://create.roblox.com/docs/en-us/studio/command-line-interface.md | Documentation index: https://create.roblox.com/docs/llms.txt
Roblox Studio supports command-line arguments that let you launch it with special functionality, such as opening a specific place or script when Studio starts. The Roblox Studio executable is typically installed in the following locations:
When launched from the command line, Studio pipes verbose logs to stdout that are more detailed than what appears in the Output window. Arguments use a double-dash prefix and are case-insensitive. File paths that contain spaces must be quoted.
Any arguments not documented here are for internal use only and are subject to change without notice.
To open a script, specify the place ID, universe ID, and task as described in the open a place section. Then
provide one of the following arguments depending on how you want to open the script.
Argument
Description
--openScriptPath <path>
The path to the script. Must use / as separators and follow absolute require-by-string semantics.
Use --task RunScript to execute a Luau script after a place finishes loading. Scripts run at the same permission level as the Studio command bar. You can combine this with --placeId and --universeId to run the script in a specific game, or --localPlaceFile to run the script in a local place file. If those arguments are omitted, Studio opens the default empty baseplate template and runs the script there.