Configure Default Working Directory
Commander supports flexible configuration of its working directory through environment variables and command-line parameters, including full XDG Base Directory Specification compliance.
Overview
Supported Methods
Command-Line Parameter
keeper shell --data-dir /tmp/keeper-session
# Uses: /tmp/keeper-session/.keeper/Environment Variables
export KEEPER_DATA_HOME="/opt/keeper-data"
keeper shell
# Uses: /opt/keeper-data/.keeper/export XDG_DATA_HOME="$HOME/.local/share"
keeper shell
# Uses: $HOME/.local/share/.keeper/Precedence Order
Smart Path Handling
Auto-Append Behavior
XDG Compliance
Usage Examples
Basic Environment Variable Setup
XDG Base Directory Compliance
Session-Specific Override
Corporate Environment
Command-Line Reference
Global Options
Environment Variable Reference
Variable
Description
Example
Troubleshooting
Common Issues
Compatibility Notes
Last updated
Was this helpful?

