How to use a Win32 build of BusyBox to run many of the standard UNIX command line tools on Windows.
Add this skill
npx mdskills install sickn33/busybox-on-windowsProvides clear instructions for installing and using BusyBox on Windows with good platform detection
1---2name: busybox-on-windows3description: How to use a Win32 build of BusyBox to run many of the standard UNIX command line tools on Windows.4license: MIT5---67BusyBox is a single binary that implements many common Unix tools.89Use this skill only on Windows. If you are on UNIX, then stop here.1011Run the following steps only if you cannot find a `busybox.exe` file in the same directory as this document is.12These are PowerShell commands, if you have a classic `cmd.exe` terminal, then you must use `powershell -Command "..."` to run them.131. Print the type of CPU: `Get-CimInstance -ClassName Win32_Processor | Select-Object Name, NumberOfCores, MaxClockSpeed`142. Print the OS versions: `Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" | Select-Object ProductName, DisplayVersion, CurrentBuild`153. Download a suitable build of BusyBox by running one of these PowerShell commands:16 - 32-bit x86 (ANSI): `$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://frippery.org/files/busybox/busybox.exe -OutFile busybox.exe`17 - 64-bit x86 (ANSI): `$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://frippery.org/files/busybox/busybox64.exe -OutFile busybox.exe`18 - 64-bit x86 (Unicode): `$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://frippery.org/files/busybox/busybox64u.exe -OutFile busybox.exe`19 - 64-bit ARM (Unicode): `$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://frippery.org/files/busybox/busybox64a.exe -OutFile busybox.exe`2021Useful commands:22- Help: `busybox.exe --list`23- Available UNIX commands: `busybox.exe --list`2425Usage: Prefix the UNIX command with `busybox.exe`, for example: `busybox.exe ls -1`2627If you need to run a UNIX command under another CWD, then use the absolute path to `busybox.exe`.2829Documentation: https://frippery.org/busybox/30Original BusyBox: https://busybox.net/31
Full transparency — inspect the skill content before installing.