Prompt Library¶
dvt includes a built-in library of curated prompt configurations ready to install. Library prompts cover a range of styles, from minimal single-line prompts to feature-rich powerline layouts.
Browsing the Library¶
List all available prompts:
Example output:
NAME TYPE CATEGORY DESCRIPTION
starship-minimal starship minimal Clean single-line Starship prompt
starship-powerline starship powerline Powerline-style Starship with git info
starship-workspace starship developer Starship with dvm workspace context
p10k-lean powerlevel10k minimal Lean Powerlevel10k layout
p10k-rainbow powerlevel10k powerline Rainbow Powerlevel10k layout
Filter by category¶
dvt prompt library list -c minimal
dvt prompt library list -c powerline
dvt prompt library list -c developer
Output formats¶
List available categories¶
Viewing a Library Prompt¶
Show the full YAML definition for a library prompt:
Output as JSON:
Installing Library Prompts¶
Install a single prompt from the library into your local database:
Install multiple prompts at once:
Install all library prompts:
After installation, the prompt is available via dvt prompt list and can be generated or set as active:
After Installing¶
Once installed, use standard prompt commands:
# Verify it was installed
dvt prompt list
# View the installed prompt
dvt prompt get starship-minimal -o yaml
# Generate the config file
dvt prompt generate starship-minimal
# Set as active
dvt prompt set starship-minimal
Related¶
- Prompts Overview - Full prompt command reference
- Theme Integration - How library prompts use theme variables