# Install msedit with Homebrew, dnf, Nix, pacman, zypper, apk, MacPorts, scoop, winget

Simple text editor with clickable interface. Version 2.0.0 via Homebrew; verified 2026-04-28.

## Install

```sh
sudo av install brew:msedit
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install msedit
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install edit
```

  Evidence: MacPorts ports tree: editors/edit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install msedit
```

  Evidence: Fedora Rawhide package metadata: msedit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#msedit
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ms/msedit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S msedit
```

  Evidence: Arch Linux sync databases: msedit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install msedit
```

  Evidence: openSUSE Tumbleweed package metadata: msedit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

- apk (92%):

```sh
sudo apk add edit
```

  Evidence: Alpine Linux edge package indexes: edit from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/edit
```

  Evidence: Scoop official bucket manifest trees: bucket/edit.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Microsoft.Edit -e
```

  Evidence: Windows Package Manager source index: Microsoft.Edit from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:msedit
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/msedit>
- **Version:** 2.0.0
- **Source summary:** Simple text editor with clickable interface
- **Homepage:** <https://github.com/microsoft/edit>
- **Repository:** <https://github.com/microsoft/edit>
- **Upstream docs:** <https://github.com/microsoft/edit#readme>
- **License:** MIT
- **Source archive:** <https://github.com/microsoft/edit/archive/refs/tags/v2.0.0.tar.gz>
- **Last updated:** 2026-04-28T22:26:08Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- edit (cli)
- edit (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.0.0
- Package-manager updated: 2026-04-28
- Local data: ok
- Upstream repository: https://github.com/microsoft/edit
- Upstream latest detected: v2.0.0 (current)
## Project history and usage

Microsoft Edit is Microsoft's open-source command-line text editor for Windows, implemented as a small Rust terminal editor and packaged outside Windows as `msedit` in Homebrew. Microsoft introduced it publicly in May 2025 as a response to a specific gap: 32-bit Windows had the classic MS-DOS Editor, but 64-bit Windows lacked an inbox command-line editor. The project deliberately uses a modeless text-user interface so people can edit files from a terminal without learning modal editor commands.

### How it is used

The GitHub README frames Edit as a simple editor for simple needs, paying homage to MS-DOS Editor while using modern controls similar to VS Code. Microsoft documented built-in features such as mouse support, multiple open files, find and replace with regex support, and word wrap; Microsoft Learn later documented availability in Windows 11 updates, installation through WinGet, and cross-platform availability through the GitHub repository. In package-manager terms, `msedit` is a lightweight terminal-editor option for users who want Microsoft Edit on macOS or Linux, or outside Windows' bundled release channel.

### Sources

- <https://devblogs.microsoft.com/commandline/edit-is-now-open-source/>
- <https://formulae.brew.sh/formula/msedit>
- <https://github.com/microsoft/edit>
- <https://learn.microsoft.com/en-us/windows/edit/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** msedit
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - msedit: normalized package name match | nixpkgs package indexes: pkgs/by-name/ms/msedit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - msedit - 1.2.0^1.e16b4ab-6.fc44: normalized package name match | Fedora Rawhide package metadata: msedit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Simple editor inspired by the MS-DOS Editor | https://github.com/microsoft/edit
- pacman - msedit - 2.0.0-1: normalized package name match | Arch Linux sync databases: msedit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A simple editor for simple needs (Microsoft Edit) | https://github.com/microsoft/edit
- zypper - msedit - 2.0.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: msedit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A simple editor for simple needs | https://github.com/microsoft/edit
- MacPorts - edit: installed executable or alias match | MacPorts ports tree: editors/edit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - edit: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ed/edit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - edit - 2.0.0-r0: installed executable or alias match | Alpine Linux edge package indexes: edit from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Simple editor for simple needs | https://github.com/microsoft/edit
- apk - edit-doc - 2.0.0-r0: installed executable or alias match | Alpine Linux edge package indexes: edit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Simple editor for simple needs (documentation) | https://github.com/microsoft/edit
- pacman - ex-vi-compat - 2-1: installed executable or alias match | Arch Linux sync databases: ex-vi-compat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The ex and vi commands based on vim's compatibility modes | https://gitlab.archlinux.org/archlinux/packaging/packages/ex-vi-compat
- Scoop - main/edit: installed executable or alias match | Scoop official bucket manifest trees: bucket/edit.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Microsoft.Edit: installed executable or alias match | Windows Package Manager source index: Microsoft.Edit from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [ex-vi](https://www.automicvault.com/pkg/brew/ex-vi/) - Shares av.db curated category or tags: cli, developer-tools, terminal, text-editor.
- [kakoune](https://www.automicvault.com/pkg/brew/kakoune/) - Shares av.db curated category or tags: cli, developer-tools, text-editor.
- [micro](https://www.automicvault.com/pkg/brew/micro/) - Shares av.db curated category or tags: cli, developer-tools, terminal, text-editor.
- [nano](https://www.automicvault.com/pkg/brew/nano/) - Shares av.db curated category or tags: cli, developer-tools, terminal, text-editor.
- [orbiton](https://www.automicvault.com/pkg/brew/orbiton/) - Shares av.db curated category or tags: cli, developer-tools, terminal, text-editor.
- [jed](https://www.automicvault.com/pkg/brew/jed/) - Shares av.db curated category or tags: cli, developer-tools, text-editor.
- [clive](https://www.automicvault.com/pkg/brew/clive/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [code-minimap](https://www.automicvault.com/pkg/brew/code-minimap/) - Shares av.db curated category or tags: cli, developer-tools, rust, terminal.
- [mle](https://www.automicvault.com/pkg/brew/mle/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, editor, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/msedit.yml](https://github.com/automic-vault/db/blob/main/combined/msedit.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
