VT Command Installation Guide
Thevt
command is VibeTunnel’s convenient wrapper that allows you to run any command with terminal sharing enabled. This guide explains how the installation works and how to manage it.
Installation Behavior
When you install VibeTunnel via npm, thevt
command installation follows these rules:
Global Installation (npm install -g vibetunnel
)
- Checks for existing
vt
command to avoid conflicts with other tools - If no
vt
command exists, creates it globally - If
vt
already exists, skips installation and shows a warning - You can still use
npx vt
orvibetunnel fwd
as alternatives
Local Installation (npm install vibetunnel
)
- Configures
vt
for local use only - Access via
npx vt
within your project
Platform Support
macOS and Linux
- Creates a symlink to the
vt
script - Falls back to copying if symlink creation fails
- Script is made executable automatically
Windows
- Creates a
.cmd
wrapper for proper command execution - Copies the actual script alongside the wrapper
- Works with Command Prompt, PowerShell, and Git Bash
Common Scenarios
Existing VT Command
If you already have avt
command from another tool:
- Use
npx vt
(works globally if installed with -g) - Use
vibetunnel fwd
directly - Manually install to a different name (see below)
Manual Installation
If automatic installation fails or you want to customize:Force Reinstallation
To force VibeTunnel to overwrite an existingvt
command:
Troubleshooting
Permission Denied
If you get permission errors during global installation:Command Not Found
Ifvt
is installed but not found:
Windows Specific Issues
- Ensure Node.js is in your system PATH
- Restart your terminal after installation
- Try using
vt.cmd
explicitly ifvt
doesn’t work
Uninstallation
Thevt
command is removed automatically when you uninstall VibeTunnel: