Skip to main content

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 yarn

Verify Installation

After installation, verify it worked:
You should see the version number printed.

First-Time Setup

After installing, you need to authenticate:
This opens your browser to sign in with your VibeHub account. Once authenticated, you’re ready to use the CLI. See Authentication for more details.

Basic Commands

Here are the most common commands to get started:

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

If vibe is not recognized:
  1. Check that npm’s global bin is in your PATH
  2. Try running npm bin -g to find the path
  3. 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:
  1. Check your Node version: node --version
  2. Update Node to version 18 or higher
  3. Consider using nvm to manage Node versions

Next Steps

Authentication

Set up your VibeHub credentials

Initialize a Project

Start using VibeHub in your project