Installer Commands (CLI)
The bash shell script ttl.sh is your main gateway for setting up, updating, and managing the Truckers Tool Linux application.
How to use
Section titled “How to use”Open a terminal in the folder where you downloaded the script (we recommend your Home directory ~/) and run it with the following syntax:
./ttl.sh <command> [options]Core Commands
Section titled “Core Commands”| Full Command | Short | Description |
|---|---|---|
install | -i | Standard interactive installation. |
setup | (none) | Terminal prompts to generate the settings.yml configuration (Port, Network). |
start | -s | Starts the Web App Node.js server via PM2 background daemon. |
stop | (none) | Stops the background Web App PM2 process. |
update | -u | Performs a fast update synchronization via Git Pull. |
check | -c | Checks for the latest release versions from GitHub Releases. |
node | -n | Automatically 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 | -v | Prints the currently installed version. |
help | -h | Display help terminal output. |
Quick Installation Flags
Section titled “Quick Installation Flags”Instead of sequential commands, you can use these super flags for one-shot deployments:
| Shell Argument | Deployment Function |
|---|---|
./ttl.sh -Id | Install Desktop App (Recommended). Detects your OS and natively integrates packages (.deb, .rpm, .pacman AUR) or .AppImage. |
./ttl.sh -Iw | Install Web App. Installs specifically for the browser-based Local Server environment. |
./ttl.sh -IS | Automatic Everything. A unified combination of Install Dependencies + Setup Prompts + Automatic Start specifically for the Web App. |
Advanced Update Arguments
Section titled “Advanced Update Arguments”| Update Argument | Function |
|---|---|
./ttl.sh update | Updates your Web App (Source code) to the latest Stable release. |
./ttl.sh update -d | Automatically updates the Desktop App native packages. |
./ttl.sh update --beta | Upgrades/Downgrades to a Pre-release (Beta). |
./ttl.sh update --alpha | Upgrades/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).