Commands Reference

VritraAI includes 100+ built-in commands organized into categories. This page provides an overview of all command categories. Click on any category to see detailed documentation for each command.

Tip: Use the help command in VritraAI to see all commands with descriptions in your terminal.

Command Categories

Session & History

Commands for managing session data and viewing command history:

session

Show current session information and statistics

session save [filename]

Save session data to JSON file

session clear

Clear current session data

history [number]

Show command history with timestamps. Supports piping to head and tail for filtering. Includes duplicate prevention and accurate command counting.

Built-in Aliases

VritraAI includes convenient aliases for common commands:

  • ll, la, l โ†’ ls variants
  • gp, gs, ga, gc โ†’ git shortcuts

Quick Reference

Here are the most commonly used commands:

ai <prompt>

Natural language AI assistant - ask anything!

explain_last

Explain the last executed system command and its output

review <file|directory>

Comprehensive AI-powered code review

ls [options] [path]

Rich colored directory listing with syntax highlighting

read_file <filename>

Read and display files with syntax highlighting

theme [name]

Switch color themes (37 available themes)

prompt [style]

Change prompt style (60+ creative styles available)

config

Show current configuration settings

๐Ÿ’ก Note: For detailed documentation on each command category, click on the category cards above or use the sidebar navigation.