The Problem
Windows doesn't have native Bash without WSL or Git Bash installation. When you try modern shells like Nushell, you lose familiar Bash commands and have to relearn everything.
The Solution
This configuration bridges that gap! Get 100% Bash command compatibility in Nushell on Windows - no WSL, no Git Bash, no relearning required.
Use all your favorite Bash commands (ll, grep, ps, kill, git shortcuts) exactly as you would in Linux/macOS, but with the power and speed of modern Nushell shell.
Based on the official Nushell migration guide from Bash, this config provides complete command equivalents and familiar workflows for Windows users.
-
Install Nushell (if not already installed):
winget install nushell
or
choco install nushell
-
Open Nushell config:
$env.config.buffer_editor = "C:/Windows/System32/notepad.exe" config nu
-
Copy content from
config.nuin this repository and paste it into the opened config file! -
Save and restart Nushell
ll,la,l,lh- Enhanced directory listingslt,ltr- Time-sorted file listingslsd,lsf- Directory/file-only listings..,...,....- Quick navigation shortcuts
grep,grepi- Pattern searching with case optionshead,tail- File content previewwc- Word/line/character countinguniq,sort- Data manipulationcut- Field extraction
ps,psg,psk- Process managementfree,uptime,whoami- System informationtop- Process monitoringkill-by-name,kill-by-port- Process termination
g,gs,ga,gc,gco- Git shortcutsgd,gl,gp,gpl- Diff, log, push/pullgb,gba,gr- Branch and remote management
zip,unzip- Archive handling with PowerShell integration- Windows-native compression support
home,desktop,downloads,documents- Common locationsroot- Drive root access
# File operations
ll # detailed file listing
la # all files including hidden
... # navigate up directories
# Text processing
grep "error" log.txt # search patterns
head 20 # first 20 lines
tail 10 # last 10 lines
# Git workflow
gs # git status
ga . # git add all
gcm "message" # git commit with message
# System info
free # memory information
whoami # current user
ps # list processesFile Operations: ll, la, l, lt, ltr, lsd, lsf, .., ..., ....
Git Shortcuts: g, gs, ga, gc, gcm, gco, gb, gd, gl, gp, gpl
System Commands: free, uptime, whoami, top, ps, psg, kill-by-name
Text Processing: grep, grepi, head, tail, wc, uniq, cut
Navigation: home, desktop, downloads, documents, root
- Nushell 0.106.1 or later
- Windows 11 (tested, may work on Windows 10)
MIT License