All available commands in the PowerShell Dev Toolkit
| Category | Commands |
|---|---|
| File & Editor | e, npp, touch, open, o. |
| Directory | ll, la, mkcd, temp |
| Utilities | which, grep, sudo, reload, rc |
| Network | ip, Clear-DNSCache |
| SSH | cssh, tunnel, tssh |
| AI Integration | ai-rules, context |
| Development | port, proj, serve, gs, search, http, services, useenv, tail, clip, art |
| Toolkit Management | Update-Toolkit |
Edit file or folder in Notepad++
e .\file.txt # Edit file
e .\file.ps1 -Line 42 -Column 1 # Edit at specific line/column
e . # Open current folder in Notepad++
npp .\file.txt # Alias for 'e'Open your PowerShell profile in Notepad++ for editing.
Edit-ProfileEdit the Windows hosts file (requires admin elevation).
Edit-HostsConfigure Git to use Notepad++ as the default editor.
Use-NppForGitCreate a new file or update an existing file's timestamp.
touch .\newfile.txt # Create file or update timestampOpen a file or folder with the default Windows application.
open .\document.pdf # Open with default PDF viewer
open .\project # Open folder in ExplorerQuick shortcut to open the current folder in Windows Explorer.
o. # Opens current directoryEnhanced directory listing with folders displayed first in a formatted table.
ll # List current directory
ll .\src # List specific directoryList all files including hidden files.
la # Show all files including hiddenCreate a directory and immediately navigate into it.
mkcd new-project # Create and enter directoryNavigate to the Windows temp directory.
temp # cd to $env:TEMPFind the location of a command or executable.
which node # Find where node.exe is located
which git # Find git locationAlias for Select-String - search for text patterns in files.
grep "pattern" .\file.txt # Search in single file
grep "TODO" *.ps1 # Search in all .ps1 filesRun a command with administrator privileges.
sudo notepad C:\Windows\System32\drivers\etc\hosts
sudo choco install nodejsAdd a directory to the system or user PATH.
Add-Path "C:\tools\bin" # Add to system PATH
Add-Path "C:\tools\bin" -User # Add to user PATH onlyReload your PowerShell profile without restarting the terminal.
reload # Applies profile changesDisplay recent unique PowerShell commands with pagination.
rc # Show first page (30 commands)
rc -Interactive # Interactive pagination mode
rc -Page 2 # Show page 2
rc -Count 200 -PageSize 50 # Custom count and page sizeShow IPv4 addresses (excludes link-local 169.* addresses).
ip # Display all valid IPv4 addressesFlush the Windows DNS cache.
Clear-DNSCache # Flush DNS
Flush-DNS # AliasSee SSH Setup Guide for configuration details.
Connect to an SSH server using saved credentials.
cssh myserver # Connect using server alias
cssh server.example.com # Connect using hostname directlyCreate an SSH tunnel for database connections or other services.
tunnel myserver # Default MySQL tunnel (3306)
tunnel myserver postgres # PostgreSQL tunnel (5432)
tunnel myserver mysql 3307 # MySQL with custom local port
tunnel myserver 5432 5433 # Custom remote and local ports
tunnel myserver 3306 -RemoteHost db.internal # Tunnel to internal hostDatabase Shortcuts:
| Shortcut | Port |
|---|---|
postgres / postgresql |
5432 |
mysql / mariadb |
3306 |
mssql / sqlserver |
1433 |
mongodb / mongo |
27017 |
redis |
6379 |
oracle |
1521 |
Generate AI rules files for various coding assistants.
ai-rules php # Generate .airules (generic)
ai-rules laravel -RuleType Cursor # Generate .cursorrules
ai-rules react -RuleType Claude # Generate .clauderules
ai-rules -Auto # Auto-detect project typeSupported Project Types:
- PHP, Laravel
- JavaScript, TypeScript, React, Vue, Angular, Next.js
- Python, Django, Flask
- Node.js, Express
- And more...
Rule Types:
| Type | Output File |
|---|---|
| Generic (default) | .airules |
| Cursor | .cursorrules |
| Claude | .clauderules |
Generate a project summary for AI tools.
context # Full project context
context -Brief # Short summary
context -AsJson # JSON output for MCP tools
context -Copy # Copy to clipboardFind and manage processes using specific ports.
port 3000 # Show what's using port 3000
port 3000 -Kill # Kill the process on port 3000
port -List # Show all listening portsDetect and show project type information.
proj # Show project type for current dir
proj -AsJson # JSON output for AI toolsAuto-detect project type and start the appropriate dev server.
serve # Auto-detect and start server
serve -Port 8080 # Use custom port
serve php # Force PHP built-in server
serve node # Force Node.js serverAuto-Detection:
package.json- npm/yarn startcomposer.json- PHP built-in servermanage.py- Django runserverrequirements.txt- Python HTTP server
Quick git status with enhanced branch information.
gs # Pretty git status
gs -AsJson # JSON output for AI toolsSearch for patterns across project files.
search "function login" # Search all files
search "TODO" -Type php # Only PHP files
search "import" -Type js,ts # JavaScript and TypeScript filesQuick HTTP requests from the command line.
http GET http://localhost:3000/api/health
http POST http://localhost:3000/api -Body @{name='test'}
http PUT http://localhost:3000/api/1 -Body @{name='updated'}
http DELETE http://localhost:3000/api/1Check the status of development services.
services # Show all common services
services docker node postgres # Check specific servicesLoad environment variables from a .env file into the current session.
useenv # Load .env from current directory
useenv .env.local # Load specific env file
useenv -Show # Show current environment variablesWatch and tail log files with optional filtering.
tail .\logs\app.log # Watch log file
tail .\logs\app.log -Filter "error" # Filter for errors
tail .\logs\app.log -Filter "warning" # Filter for warningsCopy file contents or paths to clipboard.
clip .\config.json # Copy file contents to clipboard
clip .\config.json -Path # Copy file path to clipboard
clip -Pwd # Copy current directory pathLaravel Artisan command helper.
art migrate # Run migrations
art make:model User -m # Create model with migration
art make:controller UserController
art tinker # Interactive REPL
art route:list # List all routes
art cache:clear # Clear application cacheSelf-update the toolkit by pulling the latest changes from git.
Update-Toolkit # Pull latest, show changes, reload module
Update-Toolkit -CheckOnly # Check for updates without applying
Update-Toolkit -Force # Skip confirmation promptAfter updating, the module is re-imported automatically so new commands and aliases are available immediately.
Automatic Update Checks:
The toolkit checks for available updates once per day on shell startup (configurable). To change the frequency, set toolkit.updateCheckDays in config.json:
{
"toolkit": {
"updateCheckDays": 7
}
}Set to 0 to disable automatic checks entirely.
| Shortcut | Action |
|---|---|
| Up / Down | Search command history by prefix |
Ctrl+R |
Reverse search through history |
helpme # Show all commands
helpme -ProfileOnly # Show only profile commands
helpme -ScriptsOnly # Show only script commands