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

Creating a tt environment

$ tt init

tt init creates a tt environment in the current directory. This includes:

  • Setting up directories for working files: binaries, templates, and so on.
  • Creating a corresponding tt.yaml configuration file.

Details

tt init checks the existence of configuration files for Cartridge (cartridge.yml) or the tarantoolctl utility (.tarantoolctl) in the current directory. If such files are found, tt generates an environment that uses the same directories:

  • cartridge.yml – the directories specified in the file.

  • .tarantoolctl – the directories specified in the default_cfg table.

If there is no cartridge.yml or .tarantoolctl files in the current directory, tt init creates a default environment in it. This includes creating the following directories and files:

  • bin – the directory for storing binary files.
  • include – the directory for storing header files.
  • distfiles – the directory for storing installation files.
  • instances.enabled – the directory for storing running applications or symlinks.
  • modules – the directory for storing external modules.
  • tt.yaml – the configuration file.
  • templates – the directory for storing application templates.

Example

Create a tt environment in the current directory:

$ tt init