The Complete Guide to Mastering Your Terminal
- Introduction
- Installation
- Getting Started
- Prompt Engine
- Features Deep Dive
- Plugin System
- Advanced Configuration
- Troubleshooting
MASTerm is a next-generation terminal framework written in Rust. It replaces your shell prompt with a high-performance, intelligent, and beautiful alternative that works across Zsh, Bash, and Fish.
curl -fsSL https://raw.githubusercontent.com/singhalmridul/MASTerm/main/install.sh | bashgit clone https://github.com/singhalmridul/MASTerm.git
cd MASTerm
cargo install --path crates/masterm-cli
masterm installConfiguring a terminal shouldn't require editing a text file. Run the wizard:
masterm setupYou will be asked about:
- Icons: Nerd Fonts vs Unicode
- Theme: Catppuccin, Dracula, or Nord
- Safety: Dev vs Ops mode
Upon logging in, you'll see a dashboard with:
- ASCII Art Banner
- CPU/Memory Usage
- Active Shell Version
If it's missing, run
masterm welcomemanually.
The prompt is divided into:
- Left: Contextual info (Dir, Git, Language Version)
- Right: Metadata (Duration, Time)
Set in ~/.masterm.toml:
[prompt.colors]
theme = "dracula" # or "catppuccin", "nord"MASTerm detects if you are in a "Production" environment (via ENV vars or git branch).
If you run rm -rf while in Production:
IT BLOCK/WARNS YOU.
Configure this in [safety]:
dangerous_commands = ["rm -rf", "DROP DATABASE"]Run masterm dashboard to see a full-screen terminal UI monitor.
- Tab 1: System Monitor (REAL-TIME graphs)
- Tab 2: Configuration Viewer
Convert natural language to shell commands:
masterm ask "how to check disk space"It provides a safe, explained command with a risk rating.
Create a workflows.toml file in your project:
[deploy]
description = "Build and ship"
steps = ["cargo test", "./deploy.sh"]Run it:
masterm run deployFind new capabilities without leaving the terminal:
masterm plugins search <query>
masterm plugins install <name>Plugins are WebAssembly modules. They run in a sandboxed environment with strict permissions defined in plugin.toml.
Admins can enforce settings globally via /etc/masterm/enterprise.toml.
Useful for teams requiring specific safety checks.
Something wrong? Run the doctor:
masterm doctorUninstalling
masterm install --uninstall
rm -rf ~/.masterm