Turn your npm scripts into clickable buttons with live terminal output.
Every script in your package.json becomes a clickable card in PackageFlow. No more typing commands — just click and watch.
- Select a project from the sidebar
- Find the script card (e.g.,
dev,build,test) - Click the card to run
The terminal panel opens automatically, showing live output.
| State | Indicator | Description |
|---|---|---|
| Ready | Default | Script is ready to run |
| Running | Spinner | Script is currently executing |
| Success | Green check | Script completed successfully |
| Failed | Red X | Script exited with error |
PackageFlow uses PTY for true terminal emulation:
- Colors: Full ANSI color support
- Interactive: Supports interactive prompts
- Cursor: Proper cursor movement
- Unicode: Full unicode support
- Maximum buffer size: 1MB
- Older output is automatically trimmed
- Clear terminal with the clear button
Click the Stop button on a running script card, or press the stop icon in the terminal panel.
Use the Stop All button in the status bar to terminate all running scripts at once.
PackageFlow automatically detects ports used by your scripts.
If a script tries to use a port that's already in use:
- PackageFlow detects the conflict
- Shows which process is using the port
- Offers to kill the conflicting process
Before running dev servers, you can:
- Right-click a project
- Select Check Ports
- See which ports are currently in use
To free up specific ports:
- Right-click a project
- Select Kill Ports
- Enter the port numbers to kill
- Confirm the action
Scripts are automatically organized by common patterns:
| Category | Scripts |
|---|---|
| Development | dev, start, serve |
| Build | build, compile |
| Testing | test, test:*, jest, vitest |
| Linting | lint, eslint, prettier |
| Other | Everything else |
Scripts run with your system's environment variables. To customize:
- Create a
.envfile in your project root - PackageFlow will load these variables automatically
You can run multiple scripts simultaneously:
- Click the first script to start it
- Click additional scripts while others are running
- Each script gets its own terminal tab
- Use keyboard shortcuts: Learn the shortcuts for frequently used scripts
- Watch the status bar: It shows the count of running scripts
- Check port conflicts: Run "Check Ports" before starting dev servers
- Clear terminal regularly: Keep the output clean for easier debugging
