busybox-on-windows
它能做什么
这个工具让你在 Windows 上使用类 Unix 命令。它会下载一个名为 BusyBox 的程序,里面包含许多常用的 Unix 命令行工具。
适用场景
- ✓当你需要在 Windows 上使用 Unix 命令,又不想额外安装其他工具时。
- ✓当你要完成一些需要熟悉的 Unix 命令行工具才能做的任务时。
- ✓如果你习惯了 Unix 环境,想在 Windows 上使用类似的命令时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/busybox-on-windows/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我怎样在 Windows 上用 BusyBox 运行 Unix 的 'ls' 命令?”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会先检查你是否已经有 BusyBox。如果没有,它会下载一个适合你 Windows 电脑的版本。之后,你只要在 Unix 命令前面加上 'busybox.exe' 就能使用了。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
BusyBox is a single binary that implements many common Unix tools.
Use this skill only on Windows. If you are on UNIX, then stop here.
Run the following steps only if you cannot find a busybox.exe file in the same directory as this document is.
These are PowerShell commands, if you have a classic cmd.exe terminal, then you must use powershell -Command "..." to run them.
- Print the type of CPU:
Get-CimInstance -ClassName Win32_Processor | Select-Object Name, NumberOfCores, MaxClockSpeed - Print the OS versions:
Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" | Select-Object ProductName, DisplayVersion, CurrentBuild - Download a suitable build of BusyBox by running one of these PowerShell commands:
- 32-bit x86 (ANSI):
$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://frippery.org/files/busybox/busybox.exe -OutFile busybox.exe - 64-bit x86 (ANSI):
$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://frippery.org/files/busybox/busybox64.exe -OutFile busybox.exe - 64-bit x86 (Unicode):
$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://frippery.org/files/busybox/busybox64u.exe -OutFile busybox.exe - 64-bit ARM (Unicode):
$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://frippery.org/files/busybox/busybox64a.exe -OutFile busybox.exe
- 32-bit x86 (ANSI):
Before executing a downloaded binary, obtain the expected release digest from an independently verified publisher channel and compare Get-FileHash -Algorithm SHA256. A computed hash alone does not authenticate the download. If the publisher evidence cannot be checked, report that installation is unverified and do not execute it. Save outside the immutable skill bundle and do not overwrite an existing binary.
PowerShell does not implicitly execute a file in the current directory; use ./busybox.exe or & "C:\approved\path\busybox.exe". Review the applet's filesystem effects before running it.
Useful commands:
- Help:
./busybox.exe --list - Available UNIX commands:
./busybox.exe --list
Usage: Prefix the UNIX command with busybox.exe, for example: ./busybox.exe ls -1
If you need to run a UNIX command under another CWD, then use the absolute path to busybox.exe.
Documentation: https://frippery.org/busybox/ Original BusyBox: https://busybox.net/
When to Use
Use when an authorized Windows task needs Unix-style applets without WSL, and an architecture-compatible reviewed BusyBox binary is available.
Example
User request:
Use @busybox-on-windows for this task: How to use a Win32 build of BusyBox to run many of the standard UNIX command line tools on Windows.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题
什么是 BusyBox?
BusyBox 是一个把许多常用 Unix 工具整合到单个可执行文件里的程序,体积小巧,用起来也很方便。
我需要事先安装什么吗?
如果没有找到 BusyBox,这个工具会尝试自动下载。你只需要确保自己用的是 Windows 系统。
我可以使用任何 Unix 命令吗?
BusyBox 包含许多常用的 Unix 命令,但不一定涵盖所有命令,也不一定具备完整 Unix 系统的全部功能。
详情
作者的原始描述
How to use a Win32 build of BusyBox to run many of the standard UNIX command line tools on Windows.
热度
- GitHub 星标
- 48k
- 排名
- #4093
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。