Skip to main content

Overview

If you work with multiple VibeHub accounts (e.g., personal and work), profiles let you switch between them easily without logging in and out.

Commands

List Profiles

vibe profiles
Shows all configured profiles and which one is active.

Switch Profile

vibe use <profile-name>
Switch to a different profile for subsequent commands.

Examples

View All Profiles

vibe profiles
Output:
VibeHub Profiles
───────────────
* default     [email protected]
  work        [email protected]
  client      [email protected]

Active profile: default
The * indicates the currently active profile.

Switch to Work Profile

vibe use work
Output:
Switched to profile: work
Now using: [email protected]

Create a New Profile

vibe login --profile client
This creates and logs into a new profile called “client”.

Profile Workflow

Setting Up Multiple Profiles

# Login to your personal account (default profile)
vibe login

# Login to your work account
vibe login --profile work

# Login to a client account
vibe login --profile client

Working with Different Accounts

# Work on personal project
vibe use default
cd ~/personal/my-project
vibe push

# Switch to work
vibe use work
cd ~/work/company-project
vibe push

# Switch to client
vibe use client
cd ~/freelance/client-project
vibe push

Profile Storage

Profiles are stored in ~/.vibehub/credentials:
~/.vibehub/
├── credentials
│   ├── default.json
│   ├── work.json
│   └── client.json
└── config.json
Each profile has its own credential file.

Profile Names

Profile names:
  • Can contain letters, numbers, hyphens, and underscores
  • Are case-sensitive
  • Cannot contain spaces
  • Default profile is named default
Good names:
  • work
  • personal
  • client-projectx
  • company_internal

Managing Profiles

Delete a Profile

To remove a profile, log out from it:
vibe logout --profile client
This removes the stored credentials for that profile.

Rename a Profile

There’s no direct rename command. To rename:
  1. Login with the new profile name
  2. Logout from the old profile name
# Login with new name
vibe login --profile new-name
# This reuses the same credentials if same account

# Remove old profile
vibe logout --profile old-name

Check Current Profile

vibe whoami
Output:
Logged in as: [email protected]
Profile: work

Common Use Cases

Keep personal and work VibeHub accounts separate:
vibe login                    # personal (default)
vibe login --profile work     # work account

# When working on personal projects
vibe use default

# When working on work projects
vibe use work
Freelancers can manage multiple client accounts:
vibe login --profile client-a
vibe login --profile client-b
vibe login --profile client-c

# Switch as needed
vibe use client-a
Test with different accounts:
vibe login --profile test-account
# Do testing
vibe logout --profile test-account

Tips

Set up shell aliases for quick profile switching:
alias vibe-work='vibe use work'
alias vibe-personal='vibe use default'

Troubleshooting

Wrong Profile Active

If commands are using the wrong account:
# Check current profile
vibe whoami

# Switch to correct profile
vibe use correct-profile

Profile Not Found

Error: Profile 'unknown' not found.
The profile doesn’t exist. Create it with:
vibe login --profile unknown