# WSL Manager

一款用于管理 macOS 原生 Linux 虚拟机的应用，提供模板、命令片段和 MCP 服务器。

> 这是 OpenNavo 上 WSL Manager 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/wsl-manager>

- **最新版本**: `2.7.0`
- **开发者**: Bostrot
- **主页**: <https://wslmanager.com/>
- **分类**: [虚拟化与容器](https://opennavo.com/zh/categories/virtualization)
- **安装**: `brew install --cask wsl-manager`
- **近 30 天安装**: 17
- **Homebrew**: 可以安装，应用会自行更新
- **下载地址**: <https://github.com/bostrot/wsl2-distro-manager/releases/download/v2.7.0/wsl2-distro-manager-v2.7.0-macos.dmg>
- **SHA-256**: `9d6cb42bc28898807a7d9ba6327e79bf054c925a1bd0457d11a24e8a88ccaa55`

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "quit": "com.bostrot.wsl2distromanager"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "WSL Manager.app"
      ],
      "target": "/Applications/WSL Manager.app"
    },
    "phase": "install",
    "sources": [
      "WSL Manager.app"
    ],
    "target": "/Applications/WSL Manager.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/WSLManager",
            "~/Library/Preferences/com.bostrot.wsl2distromanager.plist",
            "~/Library/Saved Application State/com.bostrot.wsl2distromanager.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

macOS 版 WSL Manager 管理的是原生 Linux 虚拟机，而不是 Windows Subsystem for Linux 发行版。它提供图形界面，方便在 Mac 上处理 Linux 虚拟机。

- 在 macOS 上管理原生 Linux 虚拟机。
- 将已配置的实例保存为模板并据此创建副本；还可在应用中保存命令片段，以便对实例运行。
- 应用内置 MCP 服务器。产品介绍称，该服务器可将应用中的实例连接到 MCP 客户端，并说明 macOS 版与 Windows 版共用此服务器。
- macOS 版也与 Windows 版共用界面、命令片段、模板和 AI 助手，但它管理的是原生虚拟机，而非 WSL 发行版。

使用 `brew install --cask wsl-manager` 安装。Homebrew cask 面向 Apple Silicon Mac。产品网站说明，macOS 客户机虚拟机需要 Apple Silicon。产品网站介绍的远程管理 WSL 发行版等 Windows 专属功能适用于 Windows 版，不适用于此 macOS 原生虚拟机版本。

来源：[WSL Manager](https://wslmanager.com/) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/w/wsl-manager.rb)

## 系统要求

- macOS 12 起 · 应用版本: 2.7.0 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/wsl-manager.rb> · 核查于 2026-12-03
  - <https://github.com/bostrot/wsl2-distro-manager/releases/download/v2.7.0/wsl2-distro-manager-v2.7.0-macos.dmg>
  - SHA-256: `9d6cb42bc28898807a7d9ba6327e79bf054c925a1bd0457d11a24e8a88ccaa55`

## WSL Manager 的安全事实

这里只列可以核验的事实，并注明来源和日期，不是安全认证。要检查你下载的文件，可以用 OpenNavo 在本机扫描。

- <https://github.com/bostrot/wslmanager> · 是否开源: 是 — <https://github.com/bostrot/wslmanager> · 核查于 2026-11-13

## 卸载

- `brew uninstall --cask wsl-manager`

普通卸载会删除应用本身，设置和缓存会保留。

### 深度清理（可选）

- `brew uninstall --zap --cask wsl-manager`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/Library/Application Support/WSLManager` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/wsl-manager.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-03；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Preferences/com.bostrot.wsl2distromanager.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/wsl-manager.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-03；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Saved Application State/com.bostrot.wsl2distromanager.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/wsl-manager.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-03；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 2.7.0 (2026-11-29)

- Tray icon and start with Windows
- Keep instances running
- Notes per instance
- Instance IP in the list
- Progress for copy, move and export
- Keyboard shortcuts
- Chinese font fix
- Bug fixes

#### What's Changed
* Write commit and PR titles as plain sentences by @bostrot in https://github.com/bostrot/wslmanager/pull/324
* Filter the instance list by name on Home by @bostrot in https://github.com/bostrot/wslmanager/pull/323
* Adopt or defer around pending Store submissions and catch up daily by @bostrot in https://github.com/bostrot/wslmanager/pull/325
* Name renamed instances in start, stop and template notices by @bostrot in https://github.com/bostrot/wslmanager/pull/326
* Fix settings navigation and center startup window by @watersupis in https://github.com/bostrot/wslmanager/pull/315
* Load TurnKey Linux images from TurnKey's own mirror by @bostrot in https://github.com/bostrot/wslmanager/pull/327
* Focus the Home instance filter with Ctrl+F and reload with F5 by @bostrot in https://github.com/bostrot/wslmanager/pull/328
* Add default keyboard shortcuts across the app by @bostrot in https://github.com/bostrot/wslmanager/pull/329
* Explain why the TurnKey Linux list could not be loaded by @bostrot in https://github.com/bostrot/wslmanager/pull/331
* Keep AI Workspace status unless WSL says the distro is gone by @bostrot in https://github.com/bostrot/wslmanager/pull/330
* Add a free-text note to each instance by @bostrot in https://github.com/bostrot/wslmanager/pull/332
* Advertise WSL containers, Docker image import and Arm64 builds by @bostrot in https://github.com/bostrot/wslmanager/pull/333
* Fall back to system CJK fonts so Chinese renders by @bostrot in https://github.com/bostrot/wslmanager/pull/337
* Show the instance IP on its row by @bostrot in https://github.com/bostrot/wslmanager/pull/335
* Add tray icon, start with Windows, and keep-alive by @bostrot in https://github.com/bostrot/wslmanager/pull/336
* Show real progress for copy, move and template export by @bostrot in https://github.com/bostrot/wslmanager/pull/334
* Skip the DNS tunnel address when reading an IP by @bostrot in https://github.com/bostrot/wslmanager/pull/338
* Keep the disk name ext4.vhdx when copying an instance by @bostrot in https://github.com/bostrot/wslmanager/pull/339
* Retry a move until WSL releases the disk by @bostrot in https://github.com/bostrot/wslmanager/pull/340
* Bump version to 2.7.0 by @bostrot in https://github.com/bostrot/wslmanager/pull/341

#### New Contributors
* @watersupis made their first contribution in https://github.com/bostrot/wslmanager/pull/315

**Full Changelog**: https://github.com/bostrot/wslmanager/compare/v2.6.1...v2.7.0

## 资料与来源

- <https://opennavo.com/zh/apps/wsl-manager>
- <https://opennavo.com/zh/apps/wsl-manager/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/w/wsl-manager.rb> · 核查于 2026-12-03
- <https://formulae.brew.sh/cask/wsl-manager>
- <https://github.com/bostrot/wslmanager> · 核查于 2026-11-13
