mdv is a simple Markdown app for your terminal.
You can open a file, type notes on the left, and see the formatted preview on the right.
If you are new to TUIs, that is fine: mdv starts with a Home screen and an in-app guide.
npm i -g @dhruv2mars/mdvFirst run downloads the native mdv binary into ~/.mdv/bin/mdv.
Binary artifacts are published on GitHub Releases per platform.
Installer keeps verified cache under ~/.mdv/cache.
Supported release binaries:
darwin-arm64darwin-x64linux-arm64linux-x64win32-arm64win32-x64
mdvWhat happens next:
- Type a file name like
notes.md - Press
Enter - Start typing
- Press
Ctrl+Sto save
If the file does not exist yet, mdv creates it on your first save.
Open an existing file directly:
mdv README.mdOpen the in-app docs any time:
- macOS:
Cmd+, - Windows/Linux:
Ctrl+,
You do not need to know Markdown to start. Plain text works.
Useful basics:
# Headingmakes a heading- itemmakes a bullet list- A blank line starts a new paragraph
Example:
# Shopping List
- milk
- bread
- fruitCreate a new note:
- Run
mdv - Type
notes/today.md - Press
Enter - Type your note
- Press
Ctrl+S
Read a file without editing:
- Run
mdv --readonly README.md
Watch streamed Markdown from another command:
tail -f notes.md | mdv --streamUpdate the installed launcher:
mdv updateUses the detected install manager and prefers the one that installed mdv.
In-app docs: Cmd+,/Ctrl+, (Docs + Settings modal).
Quick ref:
Ctrl+QquitCtrl+SsaveCtrl+Rreload from diskShift+TaborCtrl+Tswitch between typing and preview scrollingCtrl+Fsearch,Ctrl+Hreplace,Ctrl+Ggoto lineF3/Shift+F3next/prev search result- Conflict flow:
Ctrl+J/Ctrl+Uhunk nav,Ctrl+Eapply,Ctrl+Kkeep local,Ctrl+Mmerge
Beginner tip:
- If arrow keys or mouse wheel are moving the wrong side, press
Shift+Tabto switch focus.
--readonlydisable editing--no-watchdisable file watcher--streamread markdown from stdin (noPATHarg)--perfshow perf info in status line--theme <auto|default|high-contrast>set color theme--no-colordisable ANSI color--focus <editor|view>initial focused pane
- Start with
mdvand follow the first-run guide - Open in-app docs with
Cmd+,/Ctrl+, - Use
Ctrl+Qto quit safely at any time
MDV_INSTALL_DEBUG=1local installer debug logsMDV_INSTALL_TIMEOUT_MSrequest timeout (default15000)MDV_INSTALL_RETRY_ATTEMPTSretries (default3)
See CONTRIBUTING.md.