+5
Daily
+27
Weekly
14,824
stars
751
forks
77
watchers
485
prs
476
issues
5
releases
README
!Application Icon for Edit Edit
A simple editor for simple needs.
This editor pays homage to the classic MS-DOS Editor, but with a modern interface and input controls similar to VS Code. The goal is to provide an accessible editor that even users largely unfamiliar with terminals can easily use.
!Screenshot of Edit with the About dialog in the foreground
Installation
You can also download binaries from our Releases page.
Windows
You can install the latest version with WinGet:
powershell
winget install Microsoft.Edit
Linux (build from source)
If your distribution does not provide binaries, or if you'd like to build your own, you can use our install script, provided you have installed:
Rust (via rustup or similar)
A C compiler (e.g. gcc)
ICU (e.g. libicu78, libicu, icu)
curl/wget and tar
The following command will then install msedit into ~/.local/bin:
sh
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/microsoft/edit/main/assets/install.sh | sh
Additional flags are --dev, to build directly from the main branch, and --system to install into /usr/local/bin. For instance:
sh
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/microsoft/edit/main/assets/install.sh | sh -s -- --dev --system
macOS
You can install the latest version with Homebrew:
sh
brew install msedit
Build Instructions
Install Rust
Clone the repository
If you're using nightly Rust:
sh
cargo build --release --config .cargo/release.toml
If you're using stable Rust:
Ideally: Set the environment variable RUSTC_BOOTSTRAP=1 and use the nightly build instructions above.
This is recommended, because it drastically reduces the binary size and slightly improves performance.
Otherwise, simply run:
sh
cargo build --release
Build Configuration
You can set the following environment variables at build-time to configure the build:
Environment variable | Description
--- | ---
EDIT_CFG_ICU | See ICU library name (SONAME) below for details. Linux package maintainers are advised to review and configure these options.
EDIT_CFG_LANGUAGES | A comma-separated list of languages to include in the build. See i18n/edit.toml for available languages.
Notes to Package Maintainers
Package Naming
The canonical executable name is "edit" and the alternative name is "msedit".
We're aware of the potential conflict of "edit" with existing commands and recommend alternatively naming packages and executables "msedit".
Names such as "ms-edit" should be avoided.
Assigning an "edit" alias is recommended, if possible.
ICU library name (SONAME)
This project optionally depends on the ICU library for its Search and Replace functionality.
By default, the project will look for the following library names:
Variable | Windows | macOS | Linux / Other
----------|---------|-------|---------------
EDIT_CFG_ICUUC_SONAME | icuuc.dll | libicucore.dylib | libicuuc.so
EDIT_CFG_ICUI18N_SONAME | icuin.dll | libicucore.dylib | lTop issues
#22Add a settings page48 comments · 2025-05-18#109Randomly added / inserted numbers on startup44 comments · 2025-05-20#375Add edit to the Linux repos...32 comments · 2025-05-30#38`Paste` from `Edit` menu won't paste from system clipboard21 comments · 2025-05-19#17Add support for extensions / plugins19 comments · 2025-05-18#571Why tar.zst file over gzip compression in the Linux release?17 comments · 2025-07-09#506Homebrew support16 comments · 2025-06-21#732Mention F10 in the menu to make this feature visible14 comments · 2026-01-02
Discussions
#1004Vibecoded IDE with EDIT on my HobbyOS0 comments · 2026-11-05#993TextBuffer history and clean-marker replay example1 comments · 2026-10-26#953Rough estimate on next version of Edit?1 comments · 2026-09-15#922Cannot compile on Raspberry Pi 32 comments · 2026-08-03#888Dose anyone actualy use indented code blocks in markdown?2 comments · 2026-07-03#881Question!2 comments · 2026-06-19#872How to update it to latest version from 1.2.1 as it is built-in with 25H2 windows update?0 comments · 2026-06-10#865MacOS version / binary ?1 comments · 2026-05-19
Latest release
2.0.0 - A compiler for syntax highlighting! v2.0.0 2026-04-28⚠️ If you're a package maintainer, please read the last section at the end. Syntax Highlighting Edit v2 adds the Lightweight Syntax Highlighter. It has a ~40kB footprint for a dozen languages plus runtime, barely grows with each language added, and runs at 100MB/s. The highlighter is based on a simple programming language that combines regular expressions with explicit control flow. It's designed such that the runtime can be easily ported to other languages, including JavaScript. !Screenshot of Microsoft Edit with Syntax Highlighting The list of languages will surely grow over