// LINUX-LIKE SHELL FOR WINDOWS

xTerminal

85+ Commands · AI Built-In · .NET 10 · Windows 10+

A powerful shell that brings Linux/Bash-style commands to Windows. Built as an intelligent layer over PowerShell and CMD — with a built-in AI assistant, C# code runner, encrypted password manager, interactive process monitor, port scanner, firewall manager, and much more.

85+Commands
3AI Engines
Win 10+Compatible
.NET 10Framework
MITLicense
v3.0.1.0Version

Feel the Power

xTERMINAL v3.0.1.0 — C:\Users\dev
dev@MACHINE:~ $ls -t -l 2
📁 CIARE     📁 xTerminal     📁 docs     📄 README.md
dev@MACHINE:~ $wtop
[ Interactive process monitor — navigate with ↑↓, kill with k, search with / ]
dev@MACHINE:~ $cport -p 1-1024
Port 80 : OPEN    Port 443 : OPEN    Port 22 : CLOSED
dev@MACHINE:~ $cgpt -o "Explain async/await in C# in 2 sentences"
[ Ollama / llama3.2 ] async/await allows C# methods to run asynchronously without
blocking the calling thread, enabling responsive UIs and efficient I/O operations.
dev@MACHINE:~ $ccs hello.cs -p "World"
Hello, World! — compiled and executed via Roslyn in 38ms
dev@MACHINE:~ $extip
External IP: 203.0.113.42
⤢ EXPAND
WTop
WTop — Interactive Process Manager
⤢ EXPAND
fxp — xFile Explorer
fxp — xFile Explorer (browse files & dirs)

System Administration

Deep Windows integration — manage processes, services, firewall, hardware, and power states from one terminal.

📊
WTop — Process Monitor

Interactive terminal UI for process management. Navigate with arrow keys, kill processes, search by name, and sort by CPU / Memory / Name. Redesigned in v3 with an improved terminal UI.

⚙️
Service Manager

List, start, stop, and restart Windows services. Check status, read descriptions, and manage services on remote machines with -r.

🔥
Firewall Manager

Full firewall rule control — list, add, delete, enable, disable. Filter by inbound/outbound. Configure protocols, ports, profiles, and addresses.

💻
System Info

Display BIOS info, storage device details, PC system information — locally or on a remote machine. pcinfo features a new tech-style redesign in v3.

  • bios — BIOS details (local/remote)
  • sinfo — Storage devices
  • pcinfo — Full system summary
🔌
Power Management

Reboot, shutdown, sleep, hibernate, or logoff — locally or on remote machines. Force flag available for stubborn sessions.

🖥️
Shell Interop

Prefix ps to run any PowerShell command. Prefix cmd for CMD. Both shells accessible without leaving xTerminal. New in v3.0.1.0: run environment (cmd/ps) commands directly without any prefix — alias commands take priority if names clash.

🗑️
Uninstall Manager

List all installed Windows applications and launch their uninstallers directly from the terminal with uninstall. No more hunting through Settings.

🌍
env — Environment Variables

Full environment variable manager — get, set, append to, and delete variables in user or system scope directly from the terminal.

File System Operations

All the file commands you love from Linux, tuned for Windows with CRC verification, metadata extraction, and smart search.

📄
cat — Advanced Viewer

Display files with rich filtering: first/last N lines, line ranges, contains/starts/ends/equals search, count lines, concatenate multiple files.

📋
ls — Directory Listing

List with file/dir filter, duplicate detection (MD5), size scan, file count, timestamps, tree view with depth control, and text highlight.

CRC-Verified Copy/Move

fcopy and fmove verify data integrity via CRC checksum after every operation. Never silently corrupt a file again.

🔐
Secure Delete (shred)

Overwrite file data with multiple passes (default 3) before deletion. Configurable pass count. No recovery possible.

🔍
locate — Smart Search

Find files and directories by contains / starts-with / ends-with / exact name. Filter to files-only or dirs-only. Save results to file.

🗜️
zip — Archive Manager

Create archives from multiple files and folders. List zip contents, extract, and control compression level (Optimal / Fastest / Smallest).

♾️
diff & cmp

diff shows file differences (verbose mode available). cmp compares files by MD5 hash for a quick identity check.

🖼️
exif & file

exif extracts image metadata. file checks file type from magic byte signatures — path, extension, hex, and description.

📸
snap — Directory Snapshot

Capture the state of a directory and compare it against a later snapshot. Instantly see which files were added, removed, or modified — ideal for monitoring deployments and installs.

👁️
fsmon — File System Monitor

Watch a directory in real time for creates, modifies, renames, and deletes. Optional recursive mode and log-to-file support for persistent audit trails.

⤢ EXPAND
Hex dump
hex — hex dump of any file
⤢ EXPAND
Auto-suggest
TAB auto-suggest for files and folders
⤢ EXPAND
Password Manager
pwm — encrypted password manager

Network Tools

A complete network toolkit in your terminal — from speed tests to port scanning to Wake-on-LAN.

📡
Port Scanner (cport)

Scan single ports or full port ranges. Configure send/receive timeouts. Disable ping for stealth scanning.

🌐
ping / trace

Ping with configurable reply count or infinite mode (cancel with Ctrl+X). Traceroute with IPv6 support, hop limit, and timeout config.

Speed Test (ispeed)

Test your internet speed against Google servers directly from the terminal.

⬇️
wget — File Downloader

Download files from any URL with TLS/SSL support. Save to custom directory. Disable ping check for restricted hosts.

🔆
Wake-on-LAN (wol)

Send magic WOL packets to wake up any LAN device by IP and MAC address. Custom WOL port support.

🛡️
MITM Detection (dspoof)

Detect ARP spoofing and Man-in-the-Middle attacks on your local network segment.

📡
latmon — Latency Monitor

Real-time multi-host latency dashboard showing current, average, min, and max latency plus packet loss — colour-coded by performance tier. Monitor an entire server fleet at once.

Security & Privacy

AES-256 password vaults, file hashing, hex inspection — security tooling baked into every session.

🔒
Password Manager (pwm)

Local encrypted vault using Rijndael AES-256 with Argon2 key derivation. Multiple vaults, per-app entries, master password enforcement (12+ chars, upper, lower, number, special).

  • Create / delete vaults
  • Add, update, delete app entries
  • List apps with masked passwords
  • Zero cloud exposure — fully local
#️⃣
File Hashing (hash / md5)

Calculate MD5 (default), SHA-256, or SHA-512 checksums. Scan entire directories recursively. Save results to file for verification.

🔬
Hex Dump (hex)

Inspect the raw bytes of any file in a formatted hex dump. Export output to a file for analysis.

🗑️
Secure Delete (shred)

Multi-pass overwrite before deletion. Default 3 passes, configurable with -i. Prevents forensic file recovery.

📋
File Permissions (cp)

Check Windows file and folder permission ACLs at a glance.

AI in Your Terminal

Type cgpt and ask anything — cloud AI or fully private local LLM. Your choice.

🤖
OpenAI / ChatGPT

Set your API key once with cgpt -setkey. Pick any model. Ask questions about your system, code, or anything else directly from the shell prompt.

CLOUD
🌐
OpenRouter

Access Claude, Mistral, Gemini, and hundreds of other models through OpenRouter's unified API — with the same cgpt command.

CLOUD · MULTI-MODEL
🖥️
Ollama — Local LLM

Use cgpt -o "question" for fully offline, private AI. List local models with cgpt -l. Switch models anytime with cgpt -sm modelname.

PRIVATE · OFFLINE
cgpt — AI ASSISTANT
$cgpt -l
[ Ollama models ] llama3.2 · codellama · mistral · deepseek-coder
$cgpt -sm codellama
Model set to: codellama
$cgpt -o "write a C# method to read a file asynchronously"
async Task<string> ReadFileAsync(string path) =>
    await File.ReadAllTextAsync(path);

C# Code Runner & Add-ons

Run .cs files instantly with Roslyn. Build custom commands in C# and load them as native xTerminal add-ons.

ccs — Instant C# Execution

Point ccs at any .cs file and it compiles and runs it in-memory via Roslyn. Pass parameters with -p. Top-level statements supported.

🔧
! — C# Add-ons

Create your own terminal commands in C#. Add them with ! -add, list with ! -list, invoke by name. Stored in the Add-ons directory.

🔗
Custom Aliases

Define aliases for any command combination. Use % as a parameter placeholder. Manage with alias -add, -del, -update, -list.

Power Features

🔗
Pipe Commands
  • A ; B — run B after A (always)
  • A && B — run B only if A succeeds
  • A || B — run B only if A fails
  • A & — run A in background
  • Chains are fully nestable
🎨
Prompt Customization (ui)
  • 16 predefined colors for each element
  • 5 prompt indicators (> → => $ >>)
  • Toggle user@machine display
  • Customize directory color
  • Change output success color
🔮
TAB Auto-Suggest

TAB auto-completes file and folder names for cd, cat, ls, del, ccs, hex, and more. Double TAB shows all suggestions.

📜
Command History (ch)

Browse up to 2000 previous commands with timestamps. Configurable history size. Clear history with chistory.

🎮
Games

Take a break — flappy (Flappy Bird) and snake (classic Snake) run right in the console.

☁️
File Hosting (waifu)

Upload files to waifuvault.moe with expiry, password protection, one-time download, and bucket management.

📅
Utilities

cal shows a calendar. time displays current time. sort sorts file data. pjson prettifies JSON. tee pipes to file.

📂
fxp — xFile Explorer

Interactive file explorer built into the terminal. Browse directories and files with a keyboard-driven UI — navigate, open, and manage files without leaving xTerminal. Enhanced in v3 with improved navigation and load performance.

  • Keyboard navigation (↑↓ arrows)
  • Browse files and folders interactively
  • Launch directly with fxp

Scripting & Automation

A full scripting language built for xTerminal, plus a built-in code editor, named chains, context snapshots, and persistent notes.

📜
xt — TermXT Scripting Language

A full scripting language built for xTerminal. Run .xt script files, validate syntax with xt -check, and scaffold templates. Supports variables, math eval, string ops, if/elif/else, loop, while, each, functions, file I/O, user input, try/catch, and full shell integration via run and capture. Bug fix: escape sequence parsing (\t, \n) now interpolates correctly.

✏️
xte — TermXT Editor

A built-in code editor opened directly from the terminal. Features C# IntelliSense, Roslyn real-time error diagnostics, multi-language syntax highlighting (C#, C/C++, Rust, JS, Python), integrated file explorer, Go to Line, Search Next (n / F3), Shift+Arrow selection with copy/paste, automatic indentation, and unsaved-changes warnings.

🔗
chain — Named Command Chains

Create, manage, and run named sequences of commands executed in order. Build repeatable multi-step workflows and invoke them by name from any session.

💾
ctx — Terminal Contexts

Save and restore named terminal contexts — working directory plus environment variable snapshots. Switch between project environments instantly.

📝
note — Terminal Notepad

Persistent notepad built into the shell. Add, list, and delete notes directly from your terminal session without switching to another application.

xt — TERMXT SCRIPTING
$xte main.cs
[ xte ] Opened main.cs — C# IntelliSense active
$xt build.xt -p "Release"
[ TermXT ] Running build.xt with param: Release
$xt -check deploy.xt
✓ Syntax OK — 42 lines, 0 errors
$chain -run release
→ ccs build.cs ; zip dist.zip output/ ; waifu dist.zip
$note -add "remember to update config before deploy"
✓ Note saved.

Benchmarking & Command Watch

Repeat any command on an interval or benchmark it across N runs — straight from the shell.

🔄
watch — Command Watcher

Re-run any command at a fixed interval and refresh the output — like Unix watch. Ideal for monitoring log tails, port states, or service status continuously.

⏱️
bench — Command Benchmark

Benchmark any command by running it N times and reporting min, average, max, and total execution times. Identify performance regressions at the shell level.

BENCH & WATCH
$bench -n 100 "ls -l"
Runs: 100 · Min: 18ms · Avg: 23ms · Max: 41ms · Total: 2.3s
$watch -i 5 "cport -p 80,443,8080"
[ refreshing every 5s ] Port 80: OPEN Port 443: OPEN Port 8080: CLOSED

Command Reference

85+ commands at your fingertips

ls list dirs cd change dir cat view file mkdir make dir mkfile make file del delete mv rename fcopy CRC copy fmove CRC move locate find files diff compare cmp check same sort sort data echo write text attr file attrs hex hex dump exif image meta file file type zip archive shred secure del hash checksum md5 MD5 verify cp permissions edit text editor fxp file explorer pjson pretty JSON tee pipe to file wtop process UI plist proc tree kill kill process sc services fw firewall bios BIOS info sinfo storage info pcinfo system info reboot restart OS shutdown power off sleep hibernate logoff force logoff lock lock screen ifconfig network NICs extip external IP ispeed speed test icheck DNS check ping ping host cport port scan trace traceroute wol wake-on-LAN dspoof MITM detect wget download ssh secure shell pwm pwd manager cgpt ask AI ccs run C# file ! C# addon alias custom cmd ui prompt style ch cmd history chistory clear history bc background cmds odir open in Explorer nt new terminal ps PowerShell cmd CMD shell pwd print dir cal calendar time current time enc encoding ln shortcut waifu file host flappy game snake game clear clear screen latmon latency monitor fsmon fs monitor watch repeat cmd bench benchmark snap dir snapshot xte code editor xclip copy output ver version info xt XT scripts chain cmd chains ctx save context note notepad env env vars uninstall uninstall apps

Technology Stack

.NET 10 SDK C# 13 Windows 10.0+ Roslyn (Microsoft.CodeAnalysis) System.Management System.Management.Automation System.ServiceProcess Konscious Argon2 Konscious Blake2 DiffPlex OpenAI API Client OpenRouter Ollama (Microsoft.Extensions.AI) Waifuvault SDK System.Text.Encoding.CodePages
// OPEN SOURCE · MIT LICENSE

Ready to Upgrade Your Terminal?

Download xTerminal from GitHub. .NET 10 required. Works on Windows 10 and above.