Tarantool CE/EE Documentation portal logo
Support
Updated at July 17, 2026   02:08 PM

tarantool command-line options

tarantool is the Tarantool database and application server. This command can be used for different purposes, for example, running a single Tarantool instance or starting an external coordinator used for a supervised failover. The tarantool command also provides additional options that might be helpful for development purposes.

Starting instances using the tarantool command

Below is the syntax for starting a Tarantool instance configured in a file:

$ tarantool [OPTION ...] --name INSTANCE_NAME --config CONFIG_FILE_PATH

The command below starts router-a-001 configured in the config.yaml file:

$ tarantool --name router-a-001 --config config.yaml

Options

-h, --help

Print an annotated list of all available options and exit.

--help-env-list

Since: 3.0.0.

Show a list of environment variables that can be used to configure Tarantool.

--failover

Since: 3.1.0.

Start an external coordinator used for a supervised failover.

--force-recovery

Since: 3.0.0.

Try to start an instance if there is an error while reading a corrupted snapshot or write-ahead log file during the recovery process:

With this option enabled, Tarantool skips invalid records, reads as much data as possible, and lets the process finish with a warning. When the instance has started, call box.snapshot() to make a new snapshot so that the corrupted snapshots or write-ahead logs aren't used for recovery anymore.

You can also enable force recovery using the TT_FORCE_RECOVERY environment variable. TT_FORCE_RECOVERY has a lower priority than the --force-recovery option.

Example on GitHub: force_recovery

-v, -V, --version

Print the product name and version.

Example

$ tarantool --versionTarantool Enterprise 3.0.0-beta1-2-gcbb569b4c-r607-gc64Target: Linux-x86_64-RelWithDebInfo...

In this example:

  • 3.0.0 is a Tarantool version. Tarantool follows semantic versioning, which is described in the Tarantool release policy section.
  • Target is the platform Tarantool is built on. Platform-specific details may follow this line.

-c, --config PATH

Since: 3.0.0.

Set a path to a YAML configuration file. You can also configure this value using the TT_CONFIG environment variable.

See also: configuration_run_instance_tarantool

-n, --name INSTANCE

Since: 3.0.0.

Set the name of an instance to run. You can also configure this value using the TT_INSTANCE_NAME environment variable.

See also: configuration_run_instance_tarantool

-i

Enter an interactive mode.

Example

$ tarantool -i

-e EXPR

Execute the 'EXPR' string. See also: lua man page.

Example

$ tarantool -e 'print("Hello, world!")'Hello, world!

-l NAME

Require the 'NAME' library. See also: lua man page.

Example

$ tarantool -l luatest.coverage script.lua

-j cmd

Perform a LuaJIT control command. See also: Command Line Options.

Example

$ tarantool -j off app.lua

-b ...

Save or list bytecode. See also: Command Line Options.

Example

$ tarantool -b test.lua test.out

-d SCRIPT

Activate a debugging session for 'SCRIPT'. See also: luadebug.lua.

Example

$ tarantool -d app.lua

Stop handling options. See also: lua man page.

-

Stop handling options and execute the standard input as a file. See also: lua man page.