BW

bostrot/wsl2-distro-manager

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

4041 stars 181 forks 质量 82 趋势 43NOASSERTION

Windows 子系统 Linux 的图形界面——以及 Mac 上的原生 Linux/macOS 虚拟机。安装、备份、移动和配置发行版,无需 CLI 标志;AI 助手和工具,MCP 服务器用于代理,远程 WSL......

概览

英文 |简体中文 |繁體中文 |德语 |西班牙语 |日本語 |马扎尔 |葡萄牙人 |土耳其人 在 Windows 上展示 · 同一应用在 macOS 上运行原生虚拟机 — 展开 见下文 macOS 版本 🍎 在macOS上可以看到——通过苹果的虚拟化框架(测试版)原生Linux和macOS虚拟机 是一个免费的开源 GUI,适用于 Linux 的 Windows 子系统——在 macOS 上,也适用于原生 Linux 虚拟机。安装、复制、重命名、移动、备份和删除 WSL 发行版而无需记忆任何wsl.exe标志——此外还有模板、保存的命令片段、磁盘挂载、.wslconfig 编辑、通过 SSH 远程 WSL 以及一个让 AI 代理驱动 WSL 环境的 MCP 服务器。在 Mac 上,同一应用通过苹果的虚拟化框架管理虚拟机。

概述(AI 翻译)

欢迎来到WSL经理 👋

英文 |简体中文 |繁體中文 |德语 |西班牙语 |日本語 |马扎尔 |葡萄牙人 |土耳其人

在 Windows 上展示 · 同一应用在 macOS 上运行原生虚拟机 — 展开 见下文 macOS 版本

带轻微主题的预览(Windows)

🍎 在macOS上可以看到——通过苹果的虚拟化框架(测试版)原生Linux和macOS虚拟机

WSL 发行版管理器 是一个免费的开源 Windows 子系统图形界面 适用于 Linux——在 macOS 上,适用于原生 Linux 虚拟机。安装、复制、重命名, 移动、备份并删除WSL发行版,而无需记忆任何wsl.exe 标志——以及模板、已保存的命令片段、磁盘挂载、.wslconfig 编辑、SSH远程WSL,以及让AI代理驾驶的MCP服务器 你的WSL环境。在Mac上,同一个应用管理虚拟机 通过苹果的虚拟化框架实现。

🚀 特色

管理发行版

  • [x] 从内置目录安装,或自带rootfs
  • [x] 复制、重命名、移动到另一个驱动器、备份并删除实例

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Welcome to WSL Manager 👋

English | 简体中文 | 繁體中文 | Deutsch | Español | 日本語 | Magyar | Português | Türkçe

Shown on Windows · the same app runs native VMs on macOS — expand See it on macOS below

WSL Distro Manager is a free, open source GUI for the Windows Subsystem for Linux — and, on macOS, for native Linux VMs. Install, copy, rename, move, back up and delete WSL distros without memorising a single wsl.exe flag — plus templates, saved command snippets, disk mounting, .wslconfig editing, remote WSL over SSH, and an MCP server that lets AI agents drive your WSL environment. On a Mac the very same app manages virtual machines through Apple’s Virtualization framework instead.

🚀 Features

Manage distros

  • [x] Install from a built-in catalogue, or bring your own rootfs
  • [x] Copy, rename, move to another drive, back up and delete instances
  • [x] Back every instance up to one folder — with a list of what is in it — and restore them all on another PC
  • [x] Compact virtual disks to reclaim space WSL never gives back
  • [x] Watch what an instance is using right now — processor time, memory and swap, with a live graph
在 GitHub 查看完整 README

安装

npx -y mcp-remote http://127.0.0.1:59133/mcp --header Authorization:${AUTH_HEADER}
新手?先看 mcpskill.org 教程 →

配置

// claude_desktop_config.json (%APPDATA%\Claude\) { "mcpServers": { "wsl-manager": { "command": "npx", "args": [ "-y", "mcp-remote", "http://127.0.0.1:59133/mcp", "--header", "Authorization:${AUTH_HEADER}" ], "env": { "AUTH_HEADER": "Bearer <TOKEN FROM THE MCP PANEL>" } } } }