Quick Start
Get up and running with Vault in just a few minutes.
Prerequisites
- Node.js 20 or higher
- pnpm 9 or higher
Installation
Clone the repository
git clone https://github.com/zeroexcore/vault.git
cd vaultInstall dependencies
pnpm installBuild all packages
pnpm buildStart development servers
# Start both API and Web
pnpm dev
# Or start individually
pnpm --filter @pwm/api dev # API on port 8787
pnpm --filter @pwm/web dev # Web on port 5173First Login
- Open http://localhost:5173
- Enter your email address
- Create a passkey using your device's biometric (Face ID, Touch ID, Windows Hello)
- Set your master password
- You're in! 🎉
CLI Setup
# Link CLI globally
cd packages/cli
pnpm link --global
# Login (opens browser)
pwm auth login your@email.com
# List entries
pwm entry list
# Add your first entry
pwm entry addProject Structure
vault/
├── packages/
│ ├── api/ # Hono API (Cloudflare Workers)
│ ├── cli/ # Node.js CLI tool
│ ├── docs/ # This documentation
│ ├── mobile/ # React Native app (Expo)
│ ├── shared/ # Shared types, crypto, validation
│ └── web/ # React PWA frontend
├── pnpm-workspace.yaml
└── turbo.jsonAvailable Scripts
| Command | Description |
|---|---|
pnpm dev | Start all dev servers |
pnpm dev:mock | Start with mock auth (no passkey needed) |
pnpm build | Build all packages |
pnpm test | Run all tests |
pnpm typecheck | TypeScript type checking |
pnpm lint | ESLint checks |
Environment Variables
API (packages/api/.dev.vars)
RP_NAME=Vault
RP_ID=localhost
RP_ORIGIN=http://localhost:5173
Web (packages/web/.env)
VITE_API_URL=http://localhost:8787
Next Steps
- Installation Details - Detailed setup guide
- Configuration - Environment variables and settings
- CLI Guide - Terminal-based password management
- Web App Guide - PWA features and shortcuts