Running Tentris with Binaries
Tentris runs directly on any modern Linux distribution or ARM macOS (M1 chip or newer) via its command-line binaries.
The instructions provided below and in the following sections and chapters demonstrate the capabilities of Tentris and assume that Tentris is installed in the user's system.
Installing Tentris
Install Tentris.
curl --proto https --tlsv1.2 -sSf https://raw.githubusercontent.com/tentris/tentris/refs/heads/main/install.sh | sh
Manual Installation
The files for manually installing Tentris can be here.
Ensure that Tentris is installed.
tentris --version
To get detailed information about commands provided by Tentris use the --help
option.
tentris --help
The option --help
is also available for each subcommand (e.g., load
).
tentris load --help
Top Level Options
The top-level options that modify the core behavior of Tentris are detailed below and are applicable to all subcommands provided by Tentris (e.g., load
and serve
).
Note: These options need to appear before the subcommand name:
tentris --config myconfig.toml load
and nottentris load --config myconfig.toml
.
-
--license <LICENSE>
Specifies a custom path to the tentris license file. If--license
is not used, Tentris will check the config file for a license path. If that path is also not set, it will look in the following locations../tentris-license.toml
(working directory)~/.config/tentris-license.toml
(home config directory)/etc/tentris-license.toml
(global config directory)
-
--config <CONFIG>
Specifies a custom path to thetentris-server-config.toml
file. If--config
is not used, Tentris will search for the configuration file in specific locations using the following order../tentris-server-config.toml
(working directory)~/.config/tentris-server-config.toml
(home config directory)/etc/tentris-server-config.toml
(global config directory)
If no config file is found, Tentris uses its default settings, which are detailed in the chapter Configuration File.
-
-s, --datastore-path <DATASTORE_PATH>
Sets the path for the persistent data storage. This command-line option overrides the path specified in the configuration file. The dafault location for the datastore is./tentris_data
. -
--log-level <LOG_LEVEL>
Adjusts the verbosity of the log output. The available options areerror
,warn
,info
,debug
, andtrace
. -
--log-output-format <LOG_OUTPUT_FORMAT>
Determines the format of the log messages. The available options aredefault
(log format) andjson
. This command-line option overrides the format specified in the configuration file. -
--color <COLOR>
Manages color in the log output. The available options areauto
,always
, andnever
. The default value isauto
. -
--no-debug-logging
Disables writing to the detailed debug log file that is maintained by default. The log message is placed in the working directory (./tentris-debug-log.json
).