Launch Fleet from CLI
Sometimes a particular workflow would require you to launch Fleet from the command line. To support these, Fleet has several commands, which you can use in a shell script or a terminal.
In the Toolbox app, click Toolbox App menu, then select Settings.
Under Tools, enable Generate shell scripts.
In Shell scripts location, specify a folder that is accessible through the
Configure command name
In the Toolbox app, click Tool actions near Fleet, then select Settings.
Under Shell script name, specify the name for the command that launches Fleet.
Launch Fleet locally
The following commands launch a local instance of Fleet.
fleet– launches Fleet in its last saved state.
fleet <dir-name>– opens the specified directory in Fleet as a new workspace.
fleet <file-name>– attaches the specified file to the open workspace. If no workspace is available, Fleet creates a new one.
Start a workspace for remote development
Run the following command:fleet -s <dir-name>
Fleet launches a workspace and a backend for the specified directory. You can then use the URL from the command output to connect to this workspace.
Options and flags
The table below provides the summary for the options and flags that you can use with the
Launches a workspace and a backend for the specified directory. Use this for setting up a remote development environment.
Enables logging of debug messages in the launcher.
For logging of debug messages in Fleet itself, use the
Provides the reference for the available options and flags.
Prints out the version of Fleet.