Skip to main content
truss [OPTIONS] COMMAND [ARGS]...
Options:
--version
Show the version and exit.
--log
[humanfriendly|w|warning|i|info|d|debug]
Customize logging verbosity.
--non-interactive
Disable interactive prompts. Use in CI or automated execution contexts.
--help
Show help message and exit.

Main commands

CommandDescription
initCreate a new Truss project
pushDeploy a model to Baseten
watchLive reload during development
predictCall the packaged model
model-logsFetch logs for the packaged model

Advanced commands

CommandDescription
imageBuild and manage Truss Docker images
containerRun and manage Truss containers locally
cleanupClean up Truss data

Other commands

CommandDescription
loginAuthenticate with Baseten
configureConfigure Truss settings
run-pythonRun a Python script in the Truss environment
whoamiShow user information and exit
All commands support --help to display usage information.