
busybox-on-windows
ПопулярноHow to use a Win32 build of BusyBox to run many of the standard UNIX command line tools on Windows.
How to use a Win32 build of BusyBox to run many of the standard UNIX command line tools on Windows.
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):
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/
You Might Also Like
Related Skills

verify
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
facebook
test
Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.
facebook
feature-flags
Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.
facebook
extract-errors
Use when adding new error messages to React, or seeing "unknown error code" warnings.
facebook