Requirements
- Node.js 18 or higher
- npm, yarn, or pnpm package manager
Check your Node.js version with
node --version. If you need to upgrade, visit nodejs.org.Installation methods
Choose the installation method that works best for your workflow.Global installation
Install Wormkey globally to use thewormkey command from anywhere:
wormkey from any directory:
Run without installing (npx)
Use npx to run Wormkey without installing it globally:- One-off tunnels
- CI/CD environments
- Testing before installing globally
- Always using the latest version
The first run with npx may take a few seconds to download the package. Subsequent runs are faster if the package is cached.
Local installation (project-specific)
Install Wormkey as a project dependency:package.json:
package.json
Local installation is useful when you want to lock Wormkey to a specific version for your project or include it in your project’s dependencies.
Verify installation
Check that Wormkey is installed correctly:Update Wormkey
Keep Wormkey up to date to get the latest features and fixes.Update global installation
Update local installation
Check for updates
See if a newer version is available:Uninstall Wormkey
Remove global installation
Remove local installation
Installing additional packages
Wormkey provides additional packages for enhanced functionality.Overlay helpers
For automatic overlay integration:React component
The mainwormkey package includes the React component:
Troubleshooting
Command not found
If you seewormkey: command not found after global installation:
-
Check that your npm global bin directory is in your PATH:
-
Add the bin directory to your PATH:
-
Restart your terminal or run:
Permission errors on macOS/Linux
If you get permission errors during global installation:Version mismatch
If you have multiple versions installed, check which one is being used:Next steps
Quickstart
Create your first wormhole tunnel
CLI commands
Learn about all available commands
Configuration
Configure authentication and session options
React integration
Add Wormkey to your React or Next.js app