Get started with ShellTime in just a few simple steps
After installation, you can start tracking your shell commands automatically
Run this command in your terminal to install the ShellTime CLI:
curl -sSL https://shelltime.xyz/i | bashLogin to your account, setup shell hooks, and start the daemon:
shelltime initCustomize your ShellTime configuration at ~/.shelltime/config.yaml
Automatically mask sensitive data (API keys, passwords, etc.) before syncing
Enable end-to-end encryption (requires daemon mode)
Number of commands to buffer before syncing (minimum: 3)
Days to keep local data after syncing to server
Show helpful tips when using AI features
Automatically execute read-only commands (ls, cat, grep)
Automatically execute file modification commands
Automatically execute delete commands (DANGEROUS)
Enable OpenTelemetry tracking for AI coding tools (Claude Code, Codex, etc.)
OpenTelemetry gRPC server port (default: 54027)
Write debug files for troubleshooting
Track coding activity heartbeats
Automatically clean up log files when they exceed threshold
Clean files larger than this size in MB
After editing your config:
Install AI coding environment:
We recommend running both commands to ensure compatibility with all AI coding tools.
For Claude Code:
For Codex:
Install editor plugins for code tracking:
Reload configuration:
Remember to restart all terminal sessions and coding editors to apply the new settings.