Type ls, get a listing
Nebula Terminal opens Nebula, a shell made for Windows that speaks Linux. ls, cd, cat, cp, mv, rm, grep, find, sed, awk, diff, head, tail, sort, uniq, wc, tree, xargs, ps, kill and about 70 more work on your Windows files, with the options you know. Windows programs like git, node, python or code run as usual, in the same pipes.
grep -rn TODO src | head -5
find . -name "*.log" -mtime +7 | xargs rm
du -sh * | sort -h
ls **/*.rs | wc -l
Where the commands come from
The core commands are uutils coreutils, a careful rewrite of GNU coreutils in Rust, and sed, diff and cmp come from the uutils sed and diffutils projects. grep, find, tree, ps, kill, xargs and awk are written for Nebula; awk was checked line by line against GNU awk.
Scripts, not only commands
Nebula reads the shell syntax you'd write in bash for everyday scripts: pipes, && and ||, redirections and here-documents, $(…), globs like **/*.rs, if, for, while, case, functions with local, arrays, $((…)), [[ … ]], getopts, set -e and trap. It isn't bash itself, so a script that leans on rare bash features may need a change; the common ones are there.
for file in *.log; do
size=$(wc -c < "$file")
if (( size > 1000000 )); then
echo "${file%.log} is $(( size / 1024 )) KB"
fi
done
And the comforts
Ctrl+Rfinds a past command from a few letters, andz projjumps to the folder you use most.- Tab completion for paths, options, Git branches,
npm runscripts,kubectl,docker,wingetand more. help grepshows a few practical examples.- Typing
dirorfindstrpoints you tolsandgrep, and a tool that isn't installed comes with thewinget installline that brings it.
Nebula, WSL or Git Bash?
- WSL runs a real Linux system. Use it for
apt, Docker, Linux-only binaries, or to build for Linux. Nebula Terminal opens your WSL distributions too, in tabs next to Nebula. - Git Bash gives you bash and the GNU tools through MSYS2. It's a good choice if you already live in it; Nebula Terminal opens it as well.
- Nebula is a Windows program: it starts at once, works on
C:\paths (and/c/Userstoo), and needs nothing else installed. It's for the day-to-day, in the same window as everything else.