
A WYSIWYG Markdown editor for the terminal.
100% Swift, zero dependencies. macOS, Linux & Windows.
AI Assistant integrated. Use any LLM you like.
curl -fsSL https://raw.githubusercontent.com/pixdeo/editxr/main/install.sh | bash
Short clips of editxr in use: live Markdown rendering, AI section editing as an inline diff, navigable links between files, themes, focus mode, the rendered/raw toggle, incremental find, and instant startup.
# What it does
Renders as you type
Headings, lists, tables, and code styled in place — not in a split preview. The line you're on stays plain, editable text.
AI edits you review
Select a section, describe the change, and accept or reject it as a red/green inline diff. No chat thread, nothing lands unapproved.
Linked, like Obsidian
[[wikilinks]] and [](file.md) links render collapsed and open in a tab on Ctrl+]. Fuzzy-find any file with Ctrl+O, cycle tabs, jump back with Ctrl+[ — a whole notes folder, navigable without leaving the shell.
Bring your own model
LM Studio (local), OpenAI, OpenRouter, or an offline mock that needs no backend at all.
12 themes, light or dark
Clay, Dracula, Nord, Catppuccin, Tokyo Night and more — picked from a rounded command palette.
Fast & dependency-free
A native Swift binary. It opens instantly and stays fast on large files. macOS, Linux & Windows.
Everything else
Incremental find, HTML export, syntax highlighting, word wrap, and per-file cursor memory.
# How it works
editxr notes.md— open or create a file.- Type. It renders live; the cursor line stays raw.
- Ctrl+Space — ask AI for an edit, review the diff, press y to keep it.
- Ctrl+S and you're done.
# Install
One line (downloads the prebuilt binary for your platform; falls back to source):
curl -fsSL https://raw.githubusercontent.com/pixdeo/editxr/main/install.sh | bash
Homebrew:
brew install pixdeo/tap/editxr
Or grab a package from the releases:
| Platform | Package |
|---|---|
| macOS · Apple Silicon + Intel | editxr-<version>-macos-universal.zip
Signed & notarised universal binary. |
| Linux · x86_64 | editxr-<version>-linux-x86_64.tar.gz
Static (musl) — runs on any distro, no Swift runtime needed. |
| Linux · aarch64 | editxr-<version>-linux-aarch64.tar.gz
Static (musl) — runs on any distro, no Swift runtime needed. |
| Windows · x64 | editxr-<version>-windows-x64.zip
Self-contained (exe + Swift runtime). Runs on Intel/AMD and on Windows on ARM via emulation. Best in Windows Terminal. |