Skip to content
Utility

PSForge

Desktop PowerShell editor for the paste-run-debug loop. Clean AI or web scripts, run with F5, inspect terminal output and PSScriptAnalyzer findings, then copy a debug bundle for the next iteration.

TypeScriptRustTauri

The real PowerShell workflow, most of the time, is: paste a script someone handed you, run it, read the error, fix one line, run it again. PSForge is built around that loop — a Monaco editor, an integrated terminal, F5 to run, PSScriptAnalyzer telling you what’s wrong before you run it, and one-click debug bundles for the chat or ticket where the script came from. No VS Code, no profile gymnastics, just the loop.

What it is for

PSForge is tuned for this workflow:

  1. Paste a PowerShell script from chat, docs, Teams, or a web page.
  2. Clean and format the pasted text.
  3. Run with F5.
  4. Read terminal output and analyzer problems.
  5. Copy a debug bundle, last run, or full output back into a ticket or assistant conversation.
  6. Iterate.

The default layout gives the terminal a large part of the window so run output is easy to read.

What it does

  • Multi-tab PowerShell editor with Monaco.
  • Integrated PowerShell terminal.
  • PowerShell 5.1 and PowerShell 7 detection/selection.
  • F5 run, F8 run selection/current line, Shift+F5 stop.
  • Paste Clean + Format.
  • Cleanup summaries after paste.
  • PSScriptAnalyzer problem view and run gate.
  • Scratch auto-save for untitled scripts.
  • Recent runs with working directory restore.
  • Copy Debug Bundle, Copy Last Run, and Copy Output.
  • In-app AI assistant for Ask, Write, and Fix using Anthropic API, Claude CLI, OpenRouter, or Kilo CLI; it can also be disabled completely.
  • Module browser, Show Command, context help, snippets, command palette, and Explain Selection.
  • Optional debugger with breakpoints, step, and watch.
  • Script signing, print, file associations, and profile access.

Install

Download the latest installer from:

https://github.com/Swatto86/psforge/releases

Current published release: v1.4.12 (10 July 2026).

PlatformArtifacts
Windows.msi, setup .exe
macOSUniversal .dmg
Linux.deb, .rpm, AppImage

The in-app updater checks GitHub Releases on startup unless disabled in Settings.

Open Settings and enable Assistant mode if you want paste-run-debug defaults in one toggle. It configures the editor for cleaned paste, scratch save, clear terminal before run, and analyzer-aware execution.

Useful settings:

SettingSuggested value
Clean PasteOn
Run after Paste Clean + FormatOn if you want one-gesture execution
Run when Ctrl+V was cleanedOff to avoid accidental execution on small edits
Save before F5On
Auto-save untitled to scratchOn
Clear terminal before runOn
PSSA run gateWarn
Working directoryFile folder or pinned preset

Project-level .psforge.json can define working directory and analyzer behavior next to scripts.

Keyboard shortcuts

KeysAction
Ctrl+Shift+Alt+VPaste Clean + Format
Ctrl+VNormal paste with cleanup when enabled
F5Run script, or debug when breakpoints exist
F8Run selection or current line
Shift+F5Stop
Ctrl+Shift+PCommand palette
Ctrl+Shift+EExplain selection with AI
Ctrl+F1Shortcut list
Ctrl+JSnippets

Debug bundle workflow

Use Copy Debug Bundle when asking for help. It copies a Markdown bundle containing script text, terminal output, exit code, and PSScriptAnalyzer problems. You can also copy the last F5 run or the full terminal output. This is faster and less error-prone than copying each pane separately.

Tech stack

  • Frontend: React 19, TypeScript, Vite, Monaco, xterm.js, Tailwind 4.
  • Desktop: Tauri 2 and Rust.
  • PowerShell host: script run, debug, PSScriptAnalyzer, and IntelliSense workflows.

Build from source

git clone https://github.com/Swatto86/psforge.git
cd psforge
npm ci
npm run tauri dev

Quality/build commands:

npm test
npm run build
npm run tauri build

Troubleshooting

F5 runs from the wrong directory

Set the working directory mode in Settings or add a .psforge.json file beside the script.

PSScriptAnalyzer blocks or warns

Open the Problems panel. Fix the reported issues, or change the PSSA run gate when you intentionally want warning-only behavior.

Pasted script contains prompts or markdown fences

Use Ctrl+Shift+Alt+V to clean and format pasted content.

  • GitHub: https://github.com/Swatto86/psforge
  • Releases: https://github.com/Swatto86/psforge/releases
← All tools