Installation
How to install Daily Vibe CLI tool
Installation
Get started with Daily Vibe by installing it globally on your system.
Prerequisites
Daily Vibe requires Node.js version 18.0.0 or higher to run properly.
- Node.js >= 18.0.0
- npm, yarn, or pnpm package manager
Global Installation
npm install -g daily-vibeyarn global add daily-vibepnpm add -g daily-vibeVerify Installation
After installation, verify that Daily Vibe is properly installed:
# Check if installed correctly
daily-vibe --version
# Get help and available commands
daily-vibe --helpYou should see output similar to:
daily-vibe/1.0.0 darwin-x64 node-v18.17.0Alternative Installation Methods
Install from Source
If you want to contribute to Daily Vibe or run the latest development version:
# Clone the repository
git clone https://github.com/AoWangg/daily-vibe.git
cd daily-vibe
# Install dependencies
pnpm install
# Build the project
pnpm run build
# Link for local development
npm linkUsing npx (Without Installation)
You can also run Daily Vibe without installing it globally using npx:
# Run without installing
npx daily-vibe analyze today --out ./reports
# Always use latest version
npx daily-vibe@latest config set --showPost-Installation Setup
After installation, you'll need to configure your LLM provider before using Daily Vibe:
Quick Setup
- Configure OpenAI:
daily-vibe config set --provider openai --api-key sk-your-api-key- Configure Anthropic Claude:
daily-vibe config set --provider anthropic --api-key sk-ant-your-api-key- Configure Custom API (e.g., DashScope):
daily-vibe config set --provider generic \
--base-url https://dashscope.aliyuncs.com/compatible-mode/v1 \
--api-key sk-your-api-key \
--model qwen-plusTest Your Setup
Run a quick test to ensure everything is working:
# Scan for available data sources
daily-vibe sources scan
# Run analysis on today's data
daily-vibe analyze today --out ./test-reportsTroubleshooting Installation Issues
Permission Errors
If you encounter permission errors during global installation:
# Use sudo (macOS/Linux)
sudo npm install -g daily-vibe
# Or configure npm to use a different directory
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH# Check yarn global directory
yarn global dir
# Add to PATH if needed
export PATH="$(yarn global bin):$PATH"# pnpm usually handles this automatically
pnpm setupNode.js Version Issues
If you're running an older version of Node.js:
# Check your current version
node --version
# Install Node Version Manager (nvm)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
# Install and use Node.js 18+
nvm install 18
nvm use 18Command Not Found
If daily-vibe command is not found after installation:
- Check if the package is installed:
npm list -g daily-vibe- Verify your PATH includes npm global bin:
npm bin -g
echo $PATH- Reinstall if necessary:
npm uninstall -g daily-vibe
npm install -g daily-vibeUpdating Daily Vibe
Keep Daily Vibe up to date with the latest features and bug fixes:
npm update -g daily-vibeyarn global upgrade daily-vibepnpm update -g daily-vibeUninstallation
To remove Daily Vibe from your system:
npm uninstall -g daily-vibeyarn global remove daily-vibepnpm remove -g daily-vibeAfter uninstallation, your configuration files will remain on your system. You can manually delete them from your home directory if needed.
Next Steps
Now that Daily Vibe is installed, proceed to:
- Configuration - Set up your LLM providers
- Commands - Learn about available commands
- Examples - See real-world usage examples