Skip to content

Installer Commands (CLI)

The bash shell script ttl.sh is your main gateway for setting up, updating, and managing the Truckers Tool Linux application.

Open a terminal in the folder where you downloaded the script (we recommend your Home directory ~/) and run it with the following syntax:

Terminal window
./ttl.sh <command> [options]
Full CommandShortDescription
install-iStandard interactive installation.
setup(none)Terminal prompts to generate the settings.yml configuration (Port, Network).
start-sStarts the Web App Node.js server via PM2 background daemon.
stop(none)Stops the background Web App PM2 process.
update-uPerforms a fast update synchronization via Git Pull.
check-cChecks for the latest release versions from GitHub Releases.
node-nAutomatically installs NodeJS v18+ via NVM (Important for fresh Linux machines).
lang(none)Change the CLI terminal language preference (e.g. ./ttl.sh lang en or lang id).
version-vPrints the currently installed version.
help-hDisplay help terminal output.

Instead of sequential commands, you can use these super flags for one-shot deployments:

Shell ArgumentDeployment Function
./ttl.sh -IdInstall Desktop App (Recommended). Detects your OS and natively integrates packages (.deb, .rpm, .pacman AUR) or .AppImage.
./ttl.sh -IwInstall Web App. Installs specifically for the browser-based Local Server environment.
./ttl.sh -ISAutomatic Everything. A unified combination of Install Dependencies + Setup Prompts + Automatic Start specifically for the Web App.
Update ArgumentFunction
./ttl.sh updateUpdates your Web App (Source code) to the latest Stable release.
./ttl.sh update -dAutomatically updates the Desktop App native packages.
./ttl.sh update --betaUpgrades/Downgrades to a Pre-release (Beta).
./ttl.sh update --alphaUpgrades/Downgrades to an Experimental (Alpha) release.

(Developer tags beta and alpha can be chained with the desktop flag to update standalone desktop packages, e.g. ./ttl.sh update -d --beta).