Get up and running with DevXP CLI in under 2 minutes!
npm install -g devxp-cli && devxp installcurl -fsSL https://raw.githubusercontent.com/yourusername/devxp-cli/main/quick-install.sh | bashdocker run -it --rm -v ~/.devxp:/data devxp/clinpm install -g devxp-clidevxp installThis will:
- ✅ Create configuration directory
- ✅ Initialize SQLite database
- ✅ Set up user profile
- ✅ Configure shell integration (optional)
- ✅ Install Git hooks (optional)
echo 'eval "$(devxp shell-integration bash)"' >> ~/.bashrc
source ~/.bashrcecho 'eval "$(devxp shell-integration zsh)"' >> ~/.zshrc
source ~/.zshrcecho 'devxp shell-integration fish | source' >> ~/.config/fish/config.fish
source ~/.config/fish/config.fishdevxp statusShows your current level, XP, and recent activity.
devxp achievementsSee all available achievements and your progress.
devxp stats weekDisplay your coding statistics for the past week.
devxp leaderboardSee how you rank against other developers.
# In any Git repository
devxp install --git-hooks
# Now all commits will be tracked automatically!
git commit -m "feat: Add awesome feature"
# +50 XP earned! 🎉# Track a code review
devxp track review "Reviewed PR #123"
# Track learning
devxp track learning "Completed TypeScript course"
# Track debugging
devxp track debug "Fixed production bug"# View today's challenges
devxp challenges
# Complete a challenge
devxp challenge complete daily-commitdevxp config set name "John Doe"devxp config set notifications truedevxp config set theme neon # Options: default, neon, matrix, retrodevxp config list- Make frequent, meaningful commits
- Write comprehensive commit messages
- Review code regularly
- Document your code
- Write tests
- Maintain daily coding streaks
- Try different types of development activities
- Participate in code reviews
- Contribute to open source
# Export stats as JSON
devxp stats --json > stats.json
# View detailed achievement info
devxp achievements --detailed
# Track custom metrics
devxp track custom "metric-name" --value 100# Verify installation
npm list -g devxp-cli
# Reinstall if needed
npm uninstall -g devxp-cli
npm install -g devxp-cli# Fix npm permissions
sudo npm install -g devxp-cli
# Or use a Node version manager (recommended)
nvm use 20
npm install -g devxp-cli# Reset database (WARNING: Loses all data)
devxp reset --hard
# Backup database first
cp ~/.config/devxp/devxp.db ~/.config/devxp/devxp.db.backup# Verify shell type
echo $SHELL
# Manually add to RC file
vim ~/.bashrc # or ~/.zshrc
# Add: eval "$(devxp shell-integration bash)"- 📖 Full Documentation:
devxp help - 🐛 Report Issues: GitHub Issues
- 💬 Community: Discord Server
- 📧 Email: support@devxp-cli.com
- Complete your first achievement - Make a commit!
- Set up Git hooks - Track automatically
- Join the leaderboard - Compare with friends
- Customize your experience - Configure themes and settings
- Share your progress - Export and share stats
Happy Coding! 🚀 May your commits be meaningful and your XP ever-growing!