Bash/CLI Usage
Alternative command-line installation and usage guide for the TI Toolbox.
Overview
You do not have to use the graphical executables to run the TI Toolbox! The executables simply provide a GUI for the launcher program. The bash script method gives you the same core functionality in a terminal-based interface.
When to Use Bash/CLI Method
- Remote servers (no GUI available)
- Command-line workflows preference
- Automation and scripting
Prerequisites
Required Dependencies
- Docker: Docker Engine (Linux)
Installation Steps
Step 1: Download Required Files
Download these two files from the TI Toolbox GitHub Releases:
launcher/bash/loader.sh
- Main launcher scriptlauncher/bash/docker-compose.yml
- Docker configuration
Usage
Basic Launch
# Run the script
bash loader.sh
# Or if made executable
./loader.sh
The script will guide you through:
- Environment Detection
- Checks Docker availability
- Verifies system requirements
- Detects platform (Linux/macOS/Windows)
- Configuration Setup
- BIDS dataset path selection
- Output directory configuration
- Resource allocation
- Docker Management
- Downloads Docker images (first run)
- Starts containers
- Manages environment variables
- Tool Selection
- Interactive menu for TI Toolbox components
- Direct access to analysis tools
- Progress monitoring
When loader program completed:
# Try enter the pre-processing tool
pre-process
# Try start the flex-search tool
flex-search
If these manage to load the CLI you are good to go!