Shows current PyShell version, Python version and host info.
pyshell --versionPYSHELL v0.3.3-alpha • TERMINAL HELP
Fast, Python-powered shell — native on Windows, Linux & macOS. 24 cross-platform built-ins with powerlevel10k themes + format presets, pipes, redirections, and history. Unix-only tools removed — here’s everything that works everywhere.
Meta commands — themes like powerlevel10k, format presets, config, version
11 commandsShows current PyShell version, Python version and host info.
pyshell --versionQuits PyShell cleanly. Aliases: quit, exit, q.
pyshell quitOpens pyshell_config.json in your default editor (or prints its path).
pyshell configReloads pyshell_config.json after manual edit — like source for config. Syncs preset→format & theme→banner_color. Aliases: pyshell refresh, refresh, ref, reload.
pyshell --refreshShows this help listing. Aliases: ?, h.
helpShows last 100 commands from ~/.pyshell_history.
historyManage themes — 13 presets: dark, light, dracula, nord, monokai, solarized, matrix, ocean, sunset, neon, p10k, p10k_lean, p10k_rainbow — powerlevel10k-like. Custom via appearance.custom_colors.
theme listSame as theme but via pyshell prefix. Persists to pyshell_config.json (appearance.theme + banner_color).
pyshell theme set p10kPowerlevel10k wizard — like p10k configure. Asks powerline, style (classic/lean/rainbow), icons, then sets p10k family. Aliases: p10k, powerlevel10k, theme configure.
p10k configurePrompt format presets — classic ({user}@{host} {cwd} $>), pure ({cwd} ❯), minimal, two-line, git, nerd, compact, full, p10k ({p10k}), powerline. Placeholders: {user} {host} {cwd} {git} {p10k}.
format set pureAliases for format. prompt, pyshell prompt, pyshell format all manage prompt.format + git_branch. Custom: format set "{user}@{host} {cwd} $> ".
prompt set nerdMove around and inspect the system — works on Windows, Linux & macOS
7 commandsList directory contents. Colors dirs in cyan, executables in green. Supports ~, -, and quoted paths.
ls ~/DocumentsChange directory. No args → home (~ on Linux, C:\ on Windows). Supports ~, -, and /home/$USER.
cd ~/ProjectsPrint working directory.
pwdClear the terminal screen. Alias: cls.
clearShow current time, date, weekday and timezone.
timePrint current logged-in user.
whoamiPrint system hostname.
hostnameCross-platform tools — pipes & redirections fully supported
4 commandsShow file contents. Works with pipes: cat file | grep pat.
cat notes.txtGNU echo. Use "" to print. Supports \n \t \\ \xHH \0NNN with -e. Redirections: > >>.
echo -e "line1\nline2"Create directory. -p creates parents, -v prints creation.
mkdir -p projects/demoRemove empty directory only. For non-empty use rm -r.
rmdir empty_dirBuilt-ins for when you’re bored
2 commandsPlay Rock Paper Scissors against PyShell. Runs until you type quit.
rpsCLI Open World — 6 maps unlock by LVL: plains0 8×6, desert1 12×7, islands2 14×6, forest3 10×10, mountain4 9×8, dungeon5 6×6. Auto-saves to world_save.dat (encoded, hidden, game-only) on Q. Controls WASD/arrows (fixed right arrow), J stats, L look, M maps, N/P next/prev, 1-6 travel, Q quit. Edge walk → N prompt. Aliases: openworld, cli-open-world, ow.
world --map desertNo commands found
Try a different term — e.g. cp or grep
.sh power — themes, chaining, pipes & redirections
Try theme list, theme set dracula, theme preview nord, pyshell --refresh/ref after editing pyshell_config.json. Shell: ls | grep py > out.txt, echo "hi" >> log, VAR=hello echo $VAR,
cat file | grep TODO -n, cmd && echo ok || echo fail and source script.sh. Use $? $$ $HOME ${VAR:-default} and globs like *.py.