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
vtcommand to avoid conflicts with other tools - If no
vtcommand exists, creates it globally - If
vtalready exists, skips installation and shows a warning - You can still use
npx vtorvibetunnel fwdas alternatives
Local Installation (npm install vibetunnel)
- Configures
vtfor local use only - Access via
npx vtwithin your project
Platform Support
macOS and Linux
- Creates a symlink to the
vtscript - Falls back to copying if symlink creation fails
- Script is made executable automatically
Windows
- Creates a
.cmdwrapper 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 fwddirectly - 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.cmdexplicitly ifvtdoesn’t work
Uninstallation
Thevt command is removed automatically when you uninstall VibeTunnel: