microsoft/edit
Developer ToolsA modeless terminal text editor inspired by MS-DOS Editor, aimed at Windows admins and terminal newcomers.
What it is
Edit is a terminal text editor with a classic MS-DOS Editor lineage but a modern, modeless interface and keybindings closer to VS Code. Its stated goal is an accessible editor that people who are not comfortable in terminals can use without learning vi-style modes. It is written in Rust, published by Microsoft under the MIT license, and ships as the edit / msedit executable.
Search and replace optionally depends on ICU; package maintainers can adjust ICU library names and symbol conventions at build time, and the README documents these settings for distributions that use versioned SONAMEs (ICU build configuration).
Install
Windows users can install from WinGet:
winget install Microsoft.Edit
On macOS, use Homebrew:
brew install msedit
On Linux, check whether your distribution packages it via the Repology version list (package versions), or download a binary from the latest releases. If neither fits, the install script builds from source; it requires Rust, a C compiler, ICU, and curl/wget plus tar, and puts msedit in ~/.local/bin by default (install script usage):
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/microsoft/edit/main/assets/install.sh | sh
After installation, run edit or msedit on a file path. The canonical executable name is edit, with msedit as the alternative; the README recommends that packages use msedit to avoid clashing with existing edit commands.
Build from source
Install Rust, clone the repository, then build. Nightly Rust with the release profile config gives the smallest binary and is recommended; stable Rust works with RUSTC_BOOTSTRAP=1 for the same result, or with a plain release build:
cargo build --release
Build-time variables EDIT_CFG_LANGUAGES and the EDIT_CFG_ICU* family control included UI languages and ICU linkage (build configuration).
Constraints
- The editor is intentionally simple; it targets basic editing rather than a full IDE feature set.
- Language availability in the binary is controlled at build time through
EDIT_CFG_LANGUAGES. - Search and replace needs ICU, so source builds on Linux must have ICU development files and matching library names.
- The name
editmay conflict with existing commands, somseditis the recommended package and alias name.
HotRepo's take
Edit drew a 486-point, 322-comment Hacker News thread in June 2025 (discussion), where the practical rationale was framed as a command-line editor for Windows Server Core installs and SSH administration that non-vi users can operate (comment). A later 2.0.0 thread focused on its custom syntax-highlighting engine: a commenter contrasted the roughly 183 MB of Helix grammars with Edit's compact binary and called the size difference significant for its use cases (comment). Earlier discussion also compared it with micro, with one reader noting Edit lacked out-of-the-box syntax highlighting at the time (comment). The repository sits in the HotRepo Rust daily list with a best position of 7 on 2026-11-18, gaining 8 stars that day.
Written by AI from the project's README, updated . The project's own docs are the source of truth.
Hacker News
You might also like
- eugenioenko/tttA terminal code editor for developers who want IDE-grade editing (LSP, multi-cursor, git) without leaving the shell.
- QwenLM/qwen-codeA terminal AI coding agent that can read, edit, run and review code, with editor, desktop, web and chat interfaces.
- jesseduffield/lazygitA terminal interface for Git that turns staging, rebasing and history edits into guided keyboard actions.
- openai/codexA terminal coding agent from OpenAI that reads your repo, edits files and runs commands from a prompt.
- lapce/lapceA Rust-written code editor with built-in LSP, modal editing, remote development, and WASI plugins.