Windows Terminal Session Manager
npm install wtsms)A CLI tool to define, save, and launch named Windows Terminal sessions with specific layouts and commands.
Ensure the tool is linked globally:
``bash`
npm i wtsm -g
Create a new session:
`bash`
s create Example:
s create work
Add current directory to a session:
Navigate to the folder you want to add, then run:
`bash`
s add Example:
cd C:\Projects\MyBackend
s add work
_It will ask for an optional startup command (e.g., npm start or git status)._
Add interactively:
If you don't provide a name, it will show a list:
`bash`
s add
_(Type the number or name of the session to select it)_
Interactive Explorer:
`bash`
s ls
- ↑ / ↓: Navigate the list of sessions.
- →: View tabs inside the selected session.
- Ctrl+D: Delete the selected session or tab.
- q, Esc, or Ctrl+C: Exit.
Launch a session:
`bash
s Example:
s work
- currently only supports powershell
- Automatically use current shell profile
- Pane capture