Skip to main content

Usage

vibe login [options]

Description

Authenticate with your VibeHub account. This opens your browser to complete the sign-in process using Google OAuth.

Options

--profile
string
Specify a profile name for multiple accounts. Defaults to “default”.

Examples

Basic Login

vibe login
This opens your default browser to sign in with Google.

Login with Profile

vibe login --profile work
Use profiles to manage multiple VibeHub accounts (e.g., personal and work).

What Happens

1

Browser Opens

Your default browser opens to the VibeHub login page
2

Sign In

Sign in with your Google account
3

Authorization

VibeHub receives your authentication token
4

Token Stored

Your credentials are securely stored locally

Output

A successful login shows:
Opening browser for authentication...
✓ Successfully logged in as [email protected]
Profile: default

You can now use VibeHub CLI commands.

Credential Storage

Your credentials are stored in:
OSLocation
macOS~/.vibehub/credentials
Linux~/.vibehub/credentials
Windows%USERPROFILE%\.vibehub\credentials

Multiple Accounts

Use profiles to manage multiple VibeHub accounts:
# Login to personal account (default)
vibe login

# Login to work account
vibe login --profile work

# Login to client account
vibe login --profile client

# Switch between profiles
vibe use work
vibe use default

Verify Login

Check if you’re logged in:
vibe whoami
Output:
Logged in as: [email protected]
Profile: default

Troubleshooting

Browser Doesn’t Open

If the browser doesn’t open automatically:
  1. Look for the URL printed in the terminal
  2. Copy and paste it into your browser manually
  3. Complete the sign-in process

Already Logged In

If you’re already logged in, running vibe login again will:
  • Re-authenticate your account
  • Refresh your token
  • Keep the same profile

Wrong Account

If you signed in with the wrong Google account:
vibe logout
vibe login
Then sign in with the correct account.

Security

Never share your authentication tokens. They grant full access to your VibeHub account.
  • Tokens are stored locally on your machine
  • Use vibe logout on shared computers
  • Credentials are not encrypted by default - protect your home directory