Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
Microsoft Edit is easiest to install on Windows 11: type edit first, then run winget install Microsoft.Edit if the command is missing. On macOS, install the Homebrew package with brew install msedit. On Linux, use Microsoft’s installer script after installing Rust, a C compiler, ICU, and the required archive tools. Edit is a modeless, command-line text editor, so you can edit without switching between Vim-style modes while still getting multiple files, search and replace, word wrap, and mouse support.
This guide covers the supported installation paths, first-launch workflow, command names, prerequisites, troubleshooting, and how Edit compares with Vim, nano, and micro.
As an Amazon Associate I earn from qualifying purchases.
What is Microsoft Edit, and why use it instead of Vim or nano?
Microsoft describes Edit as “a lightweight, open-source command-line text editor for Windows 11.” It is written in Rust and uses a modeless text-user interface: typing inserts text immediately, while menus and shortcut keys provide commands. You do not have to learn Vim’s separate normal, insert, and command-line modes before making a basic edit.
Edit is aimed at quick terminal work rather than replacing every capability of a full programming environment. Its documented feature set includes opening several files, finding and replacing text, word wrapping, mouse navigation, selection, and scrolling. Microsoft’s launch announcement described the early editor as less than 250 kB, giving it a small footprint in the Windows image.
#1 Best Overall
- Spacious Design: Measuring 21.1" wide and 14.1" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
- Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy ergonomic support with the integrated cushioned wrist rest.
- Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
- Durable Surface: Work with confidence on our lap desk's solid surface, featuring a sleek black carbon color, ensuring optimal air circulation to prevent your laptop from overheating.
- On-the-Go Convenience: With an integrated handle and lightweight design (2.8 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.
The practical choice depends on your workflow:
- Choose Edit when you want a familiar, menu-driven terminal editor without modal commands, especially on current Windows 11.
- Choose Vim when modal editing, extensive keyboard commands, scripting, and a deep power-user ecosystem matter more than a short learning curve.
- Choose nano when you want a very direct shortcut-driven editor that is commonly present on Unix-like systems.
- Choose micro when you want an approachable shortcut-driven editor with documented cross-platform distribution as a single static binary.
Edit is open source and has documented installation routes for Windows, macOS, and Linux. The Windows experience is the most integrated because newer Windows 11 releases include the command.
Which Windows versions include Edit?
The current Microsoft documentation says Edit is included in the September 2025 optional update or a newer update, and in the Windows 11 2025 Update, version 25H2. Availability can therefore depend on your installed Windows 11 build rather than on whether the operating system is generally “Windows 11.”
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Open Command Prompt, PowerShell, or Windows Terminal and check before installing anything:
edit
If a blank editor opens, Edit is already available. If the shell reports that edit is not recognized, install it with WinGet.
How do I install Microsoft Edit on Windows?
- Open a terminal. Start Command Prompt, PowerShell, or Windows Terminal.
- Check for the built-in command. Run
edit. This confirms whether your Windows 11 update already supplies the editor. - Install the package if needed. Run
winget install Microsoft.Edit. - Confirm the launch. Run
editagain. A blank editing window should open. - Open a file directly. Use
edit your-file-name, replacingyour-file-namewith a path such asedit notes.txt.
WinGet is the normal fallback when your Windows 11 installation predates the included package or the optional update is not installed. Microsoft also publishes releases through its official GitHub repository; that route is useful when you need a release package rather than the Windows package manager.
What if WinGet cannot find Microsoft.Edit?
First check that you are using a current Windows 11 installation and that WinGet itself is available. If Edit is absent from your system image and the package command fails, use the latest release from Microsoft’s official repository instead. After installing a release package, start the editor with edit when that executable is provided.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Rank #2
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
How do I install Microsoft Edit on macOS?
On macOS, the documented package name is msedit and Homebrew is the package manager. Install Homebrew first if it is not already present, then install Edit from a terminal.
- Ensure Homebrew is installed. Use your normal Homebrew installation process and verify that the
brewcommand works. - Install Edit. Run
brew install msedit. - Launch the editor. The repository documents
mseditas the Homebrew package and alternate executable name. Where the canonical executable is available, you can useedit; otherwise start it withmsedit. - Open a file. Pass a filename after the command, for example
msedit notes.txtoredit notes.txtwhen that alias exists.
The package name and executable name are not identical on every platform, so trying msedit is the reliable macOS starting point after Homebrew installation.
How do I install Microsoft Edit on Linux?
The official Linux instructions use an installation script that builds or installs the editor with a Rust toolchain. Before running it, have Rust installed through rustup or another supported method, a C compiler such as GCC, an ICU library, and curl or wget together with tar.
Install to your user account
The default script places msedit in ~/.local/bin:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/microsoft/edit/main/assets/install.sh | sh
If your shell does not already search that directory, add ~/.local/bin to your PATH. Start the editor with msedit or with the available edit alias, then pass a file path to open an existing file.
Free tools Windows power users keep installed
One-click scans. No signup required.
Install system-wide
For a system-wide installation, the repository documents this form:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/microsoft/edit/main/assets/install.sh | sh -s -- --dev --system
The --dev --system arguments select the system installation mode documented by the project. Because this changes a shared system location, use the permissions and account policy appropriate for your distribution.
Rank #3
- Note: Not suitable for MacBooks released after 2023 or devices with a protruding front camera; Not applicable to full-screen or notch-style tempered glass screen protectors; Do not use on the rear camera of the phone.
- 💻 Why Do You Need a Webcam Cover Slide? — Safeguard your privacy by covering your webcam with our reliable webcam cover when not in use. Don't let anyone secretly watch you. Stay protected!
- ✅ Thin & Stylish — Enhance your laptop's functionality and aesthetics with our 0.027" ultra-thin webcam covers. Seamlessly close your laptop while adding a touch of sophistication.
- ✅ Fits Most Devices — Compatible with laptops, phones, tablets, desktops! Keep your privacy intact on Ap/ple, Mac/Book, iPh/one, iP/ad, H/P, L/novo, De/ll, Ac/er, As/us, Sa/msung devices.
- ✅ 365 Days Protection — Our upgraded 3.0 adhesive ensures a strong hold that won't damage your equipment. Experience reliable, long-term privacy protection day in and day out.
Build from source instead
The repository also documents building with Cargo. This is useful when you already maintain Rust projects or need to control the build locally, but it requires the same general compiler and library prerequisites. The script is the shorter path when your system meets the listed requirements.
How do I open files and use Edit after installation?
Run edit with no argument for a blank document, or append a filename to open that file:
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchedit file.txt
On systems where the alternate executable is used, substitute msedit:
msedit file.txt
Edit is modeless. You can begin typing without first pressing an “insert” command, and menu keybindings remain available while you work. This is the central difference from Vim’s modal interaction model.
How do I switch between files?
Press Ctrl+P to open and switch among multiple files. This lets you keep several documents in one editor session instead of starting a separate terminal process for each file.
How do I find and replace text?
Press Ctrl+F, or choose Edit > Find. The matching options include:
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Rank #4
- Anti-Slip Surface - Transform your laptop into a mobile workstation with the AboveTEK portable laptop lap desk. The anti-slip surface provides a strong grip for laptops up to 15.6 inches(Diagonal), while the double rubber strip on the bottom ensures a stable display or typing experience on your lap, couch, or bed.
- Retractable Mouse Pad - Retractable laptop mouse pad extends on both directions for the left/right handed with elevation along the edges for stopping mouse from falling off. The size of laptop tray is 14" X 9.7" and the size of mouse pad is 7.4" X 6.1".
- Effective Heat Shield - The effective heat shield made of sturdy and thick material protects your laptop from overheating. Prioritizes your comfort and safety, an ideal lap pad or board for working anywhere.
- EASY to Carry and Store - With an ergonomic and simplistic design, the lap desk is portable to store in a backpack. Only 15" in size, 2.2 lb of weight and with slim 0.6 inch thickness, it is ready to be easily carried around.
- Widely Applicable - The smooth platform accommodates laptops and tablets up to 15.6 inches(Diagonal), making it a versatile accessory and one of the best gifts for mom, dad, students and professionals. Perfect for use as a laptop bed tray or tablet holder anywhere at home, library, or park.
- Match Case for case-sensitive searches.
- Whole Word to avoid matching a search term inside a larger word.
- Regular Expression for pattern-based matching.
Use the same find interface for replacement when you need to change matching text rather than only locate it.
How do I turn word wrap on or off?
Press Alt+Z to toggle word wrap. Wrapping changes how long lines are displayed; it does not require you to insert line breaks into the file.
Can I use a mouse?
Yes. Edit supports mouse navigation, selection, and scrolling in the terminal interface. That makes routine selection and movement easier for people who prefer pointer input, while keyboard shortcuts remain available.
What should I check when Edit will not start?
Most launch failures come from using the wrong command name, an older Windows build, or a missing Linux path or prerequisite. Check the branch that matches your operating system.
Windows troubleshooting
editis not recognized: runwinget install Microsoft.Edit, then start a new terminal and tryeditagain.- The built-in command is missing: verify that Windows 11 has the September 2025 optional update or a newer update, or Windows 11 version 25H2. If your build is older, use the WinGet or official release route.
- A file will not open: provide the complete path or change to the directory containing the file before running
edit filename.
macOS troubleshooting
brewis not found: Homebrew is not installed or its shell setup is incomplete; resolve that first.editis not found after installation: use the documented alternate executable,msedit.- The package command fails: check that Homebrew itself can reach and install packages, then rerun
brew install msedit.
Linux troubleshooting
- The installer stops on a missing compiler or library: install Rust, a C compiler such as GCC, ICU, and the required
curlorwgetplustartools. mseditis installed but the shell cannot find it: add~/.local/bintoPATHfor the user installation, then start a new shell or reload your shell configuration.- The command name differs: try
mseditfirst; useeditonly when your installation provides that alias. - You need a shared installation: rerun the documented script with
--dev --systemand follow your distribution’s permission policy.
How does Edit compare with Vim, nano, and micro?
Edit’s strongest distinction is its interaction model. Installation effort and portability also vary significantly by operating system, so the best alternative depends on both your editing habits and your host platform.
| Editor | Interaction model | Installation and portability | Documented features or positioning |
|---|---|---|---|
| Microsoft Edit | Modeless, menu-keybinding workflow | Included in newer Windows 11 releases; WinGet on Windows; Homebrew on macOS; official script or Cargo build on Linux | Multiple files, find and replace, regular-expression matching options, word wrap, mouse navigation, selection, and scrolling |
| Vim | Modal editing | Commonly treated as a Unix-like terminal option; the supplied comparison does not specify a single installation route | Deeper modal power-user option |
| nano | Direct shortcut-driven editing | The supplied comparison does not specify a cross-platform package path | Approachable terminal editing |
| micro | Direct shortcut-driven editing | Cross-platform distribution as a single static binary | Approachable terminal editing with broad platform coverage |
Is Edit easier than Vim?
For a first-time terminal editor user, usually yes: Edit does not require learning Vim’s modes before typing, and its menus expose common commands. Vim remains the better fit when you deliberately want modal commands and a deeper power-user workflow. “Easier” therefore describes the initial interaction, not a claim that Edit has every advanced capability Vim offers.
Best Value
- Spacious Design: Measuring 21.1" wide and 12" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
- Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy laptop support with the integrated device ledge.
- Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
- Durable Surface: Work with confidence on our lap desk's solid surface, featuring a blush pink color, ensuring optimal air circulation to prevent your laptop from overheating.
- On-the-Go Convenience: With an integrated handle and lightweight design (2.14 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.
Is Edit easier than nano?
Edit and nano both avoid Vim’s modal workflow, so either can be approachable for routine changes. Edit adds documented mouse support, multiple-file switching with Ctrl+P, and configurable find options including regular expressions. Nano may still be the more familiar choice on a machine where it is already installed and your task is a very small terminal edit.
When is micro a better fit?
Micro is worth considering when you need the same approachable shortcut-driven style across several operating systems and prefer a single static binary distribution. Edit has documented paths for Windows, macOS, and Linux, but its Windows integration and built-in availability are its clearest advantages.
Recommended Free Tools
What are Edit’s practical limitations?
Edit is positioned as a lightweight command-line editor, not as a complete integrated development environment. The documented material establishes its core editing, navigation, search, wrapping, and multi-file functions, but it does not publish benchmark results, user-satisfaction measurements, or a current release version number. Avoid choosing it on the assumption of a particular performance score or version-specific feature that is not documented.
Linux installation also has a higher setup burden than Windows installation: you may need Rust, a compiler, ICU, archive tools, and a PATH adjustment. On macOS, Homebrew is an additional prerequisite. Those requirements do not make Edit unusable, but they change the time required before the first launch.
Which installation method should I choose?
- Windows 11 with a current update: run
editfirst; use WinGet only if the command is absent. - Windows 11 without the included package: run
winget install Microsoft.Edit, or obtain the latest official release package. - macOS: install Homebrew if necessary, then run
brew install mseditand launch withmseditwheneditis not available. - Linux: choose the user installation script for a local setup, the
--dev --systemform for a system-wide setup, or Cargo if you already manage Rust builds.
Once installed, the essential workflow is the same: start the executable, open a file by passing its path, use Ctrl+P for additional files, Ctrl+F for search and replacement, and Alt+Z for word wrap. That combination gives Edit a low-friction alternative to Vim’s modal model while retaining the convenience of a terminal-based editor.
Frequently Asked Questions
Is Microsoft Edit supported on Windows 10?
The current documentation describes Edit as a Windows 11 editor and specifies Windows 11 update channels for its inclusion. The supplied installation information does not establish a supported Windows 10 path, so do not assume that the Windows 11 package or built-in command applies there.
What license is Microsoft Edit released under?
The project is open source under the MIT license. That license is stated for the project itself, while the installation commands above use Microsoft’s documented distribution channels.
How large is Microsoft Edit?
Microsoft’s 2025 launch announcement reported that the early editor was less than 250 kB. That figure describes the early Windows image footprint and should not be treated as a current package-size guarantee for every platform.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

