Clone the repository
Grab the lightweight source from GitHub — pure PowerShell + modular C# engine.
git clone https://github.com/Scrates1/tri.git
Instant dated scratchpads & fuzzy switcher for Windows PowerShell.
Huge thanks to Tobias Lütke's tobi/try for the original idea — giving every quick prototype or PR review a dated home (YYYY-MM-DD-name) directly inside Windows PowerShell 5.1 & 7+.
tri right hereRunning a faithful JS port of TriV2.Engine.Rank — click the terminal to take control and start typing anytime.
Installs cleanly into your user PowerShell Modules folder and precompiles runtime-specific C# engine DLLs automatically.
Grab the lightweight source from GitHub — pure PowerShell + modular C# engine.
git clone https://github.com/Scrates1/tri.git
Auto-precompiles native DLLs for both PowerShell 5.1 & PowerShell 7+. Never touches $PROFILE or PATH.
cd tri; .\install.ps1
powershell -ExecutionPolicy Bypass -File .\install.ps1
Open the fuzzy picker, spin up a dated experiment, or review a GitHub PR in one command.
tri new api gateway bench
Set-Alias t tri
Real numbers measured on Windows with precompiled runtime DLLs installed via .\install.ps1.
Practical Windows & PowerShell adaptations — native module loading, junction-safe cleanup, and crisp CJK alignment.
Auto-discovered via PSModulePath and switches directories in-process with Set-Location -LiteralPath — never edits $PROFILE, PATH, or ExecutionPolicy.
Runtime-tagged DLLs (netfx4 & netcore) hashed by SHA-256 deliver 117–184 ms cold starts and ~0 ms warm calls inside the same terminal session.
Non-greedy Dynamic Programming scores full names and date-stripped slugs, rewarding word boundaries, consecutive runs, and recency — with East Asian wide-char alignment.
Spin up detached worktrees with tri ., check out GitHub PR URLs directly, move/rename with git worktree repair, and auto-prune on delete.
Iterative bottom-up deletion unlinks nested symlinks/junctions without touching targets. Cross-volume moves copy safely with rollback and -LiteralPath everywhere.
tri list streams typed [pscustomobject] items (Name, Path, LastUsed, Score) alongside idiomatic cmdlets, native Tab completion, and Remove-TriProject -WhatIf.