Overview
The VibeHub CLI (vibe) lets you push commits, sync code, and manage projects directly from your terminal. It’s the primary way to send commits from your local development environment to VibeHub.
Requirements
- Node.js version 18.0.0 or higher
- npm or yarn package manager
- A VibeHub account
Installation
Using npm (Recommended)
Using yarn
Verify Installation
After installation, verify it worked:First-Time Setup
After installing, you need to authenticate:Basic Commands
Here are the most common commands to get started:| Command | Description |
|---|---|
vibe login | Authenticate with VibeHub |
vibe init | Initialize a new VibeHub project |
vibe set <url> | Connect to an existing project |
vibe push | Push commits to VibeHub |
vibe pull | Pull commits from VibeHub |
vibe status | Check sync status |
Quick Start Example
Getting Help
Command Help
Get help for any command:List All Commands
Updating the CLI
To update to the latest version:npm
yarn
Uninstalling
To remove the CLI:npm
yarn
Troubleshooting
Command Not Found
Ifvibe is not recognized:
- Check that npm’s global bin is in your PATH
- Try running
npm bin -gto find the path - Add that path to your shell configuration
Permission Errors
If you get permission errors during installation:Node Version Too Old
If you see Node version errors:- Check your Node version:
node --version - Update Node to version 18 or higher
- Consider using nvm to manage Node versions