CLI Reference
Complete reference for all TSI commands and options.
Global Options
All commands support:
--help,-h- Show help--version,-V- Show version
Many commands support:
--prefix PATH- Use custom installation prefix (default:~/.tsion Unix,%USERPROFILE%\.tsion Windows)
Commands
Install
Install a package from source.
Options:
--force- Force reinstall even if already installed--prefix PATH- Installation prefix
Examples:
Uninstall
Remove an installed package.
Options:
--prefix PATH- Installation prefix
Examples:
Upgrade
Upgrade installed packages to latest versions.
Options:
--prefix PATH- Installation prefix
Examples:
List
List installed packages.
Options:
--prefix PATH- Installation prefix
Search
Search available packages.
Options:
--prefix PATH- Installation prefix
Examples:
Info
Show detailed package information including available versions.
Options:
--prefix PATH- Installation prefix
Examples:
Update
Fetch the latest package definitions from the repository.
Options:
--repo URL- Git repository URL--local PATH- Local directory path--prefix PATH- Installation prefix
Examples:
Doctor
Check your system for potential problems.
Options:
--prefix PATH- Installation prefix
Examples:
Doctor checks for:
- C compiler (gcc/clang/cc)
- make
- Package definitions
- Install prefix writability
- git (for some packages)
Exit Codes
0- Success1- Error (e.g., package not found, build failure)
Environment Variables
TSI respects:
HOME/USERPROFILE- For default prefix resolutionPATH- For finding build tools