Get Linux utilities like tail,head,cat,cd,ls,cp,mv,rm in Windows directly without needing to manage WSL
Project description
MKCD - Linux Utilities for Windows
Tired of switching between PowerShell and WSL just to use basic Linux commands? MKCD brings over 70 essential Linux utilities directly to your Windows command line. No virtual machines, no containers, no hassle.
Why MKCD?
Working on Windows but miss the power of Linux command-line tools? You're not alone. Whether you're a developer who needs grep for quick searches, a sysadmin who relies on tail for log monitoring, or anyone who finds Windows equivalents just don't cut it, MKCD has you covered.
MKCD provides native Windows executables for all your favorite Linux utilities:
- Text processing:
grep,sed,awk,cut,sort,uniq - File operations:
ls,cp,mv,rm,find,chmod - System monitoring:
ps,top,df,du,stat - Archive handling:
tar,gzip,gunzip,zip - And many more:
head,tail,cat,wc,diff,which,whereis
No learning curve. No compatibility issues. Just the Linux tools you know and love, running natively on Windows.
Installation
Getting started with MKCD is straightforward, but there are a few important steps to follow:
Step 1: Install the Package
pip install mkcd
Step 2: Run the Installer
mkcd-install
This will:
- Launch a User Account Control (UAC) dialog asking for administrator privileges
- Click "Yes" to grant permission (required to modify system PATH)
- Open a new elevated command window
- After the installation completes and shows "Operation completed. Press any key to close this window...", press Enter
- The elevated window will close automatically
Step 3: Open a New Terminal
Important: You must open a completely new terminal window for the changes to take effect. Simply opening a new tab in Windows Terminal may not work - you need to close and reopen the entire application.
If commands still aren't recognized after opening a new terminal, a system restart may be required.
Quick Start
Once installed, you can immediately start using Linux commands in any Windows terminal:
# List files with details and colors
ls -la
# Search for text in files
grep "error" *.log
# Monitor log files in real-time
tail -f application.log
# Find files by name
find . -name "*.txt"
# Count lines, words, and characters
wc myfile.txt
# Extract archives
tar -xzf archive.tar.gz
Colorized Output
MKCD automatically enables colorized output for ls and grep commands, making your terminal experience more pleasant and easier to read.
Troubleshooting
Commands Not Found After Installation
- Make sure you opened a completely new terminal (not just a new tab)
- Try restarting your computer
- Check if the installation succeeded by running
mkcd-installagain
UAC Prompts
The installer needs administrator privileges to modify your system PATH. This is normal and safe - we only modify environment variables to make the Linux utilities available system-wide.
Uninstalling
To remove MKCD utilities from your PATH:
mkcd-uninstall
To completely remove the package:
pip uninstall mkcd
What's Included
MKCD includes over 70 Linux utilities compiled for Windows, including:
| Category | Commands |
|---|---|
| File Operations | cp, mv, rm, mkdir, rmdir, ls, chmod, chown |
| Text Processing | grep, sed, gawk, cut, sort, uniq, tr, wc |
| File Viewing | cat, head, tail, less, more |
| Archive Tools | tar, gzip, gunzip, bzip2, bunzip2, xz, unxz |
| System Info | ps, top, df, du, stat, uname, whoami, which |
| Text Utilities | diff, comm, join, paste, column, fmt, fold |
And many more! Each command works just like its Linux counterpart, with the same options and behavior you expect.
Requirements
- Windows 10 or later
- Python 3.9 or higher
- Administrator privileges (for installation only)
License
MKCD is released under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mkcd-1.0.5.tar.gz.
File metadata
- Download URL: mkcd-1.0.5.tar.gz
- Upload date:
- Size: 10.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0053626fd3b8cd55cceed4362334f22c81255adeaaaee2efd3c62ad8f9e6f6c
|
|
| MD5 |
1d90820f21098941250503080bb5b586
|
|
| BLAKE2b-256 |
e43c42f06f684436c8b7326ad3497b8d10b56e2862625c29ef10203ac3ea5f9f
|
File details
Details for the file mkcd-1.0.5-py3-none-any.whl.
File metadata
- Download URL: mkcd-1.0.5-py3-none-any.whl
- Upload date:
- Size: 10.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad9ae839734b3fce0ffaf7821516334ba7df481146678243ca8a1fc30fbe7564
|
|
| MD5 |
15e342c0f188d868afa113ed83cd656e
|
|
| BLAKE2b-256 |
bac626e1f5595ec823e4723bc468accb36e2701673496b926cf999faacffe6e6
|