Installation
Add Vaultlier to your project. One package ships both the CLI and the runtime SDK.
Requirements
- Node.js 18 or newer for the CLI (it uses native
fetchand Web Crypto). - The runtime SDK is edge-safe and additionally runs on Bun, Deno, Cloudflare Workers, Vercel Edge, and AWS Lambda.
Install the package
Vaultlier is distributed as a single npm package. Install it as a dependency so the runtime SDK is available at deploy time, and use the bundled CLI via npx or your package scripts.
Terminal
npm install vaultlier
# pnpm add vaultlier
# yarn add vaultlier
# bun add vaultlierRunning vaultlier initwill offer to install the dependency for you if it isn't present yet, detecting your package manager from the lockfile.
Entry points
The package exposes two import surfaces:
| Import | Surface | Environment |
|---|---|---|
vaultlier | Runtime SDK (createClient) | Edge-safe — Node 18+, Bun, Deno, Workers, Edge, Lambda |
vaultlier/cli | CLI programmatic API | Node-only |
The runtime entry uses only fetch and Web Crypto — no Node-only imports and no third-party dependencies.
Self-hosted portals
By default the CLI and SDK talk to the hosted portal at https://api.vaultlier.com. Point them at a self-hosted deployment with the --api-url flag or the VAULTLIER_API_URL environment variable.
Terminal
export VAULTLIER_API_URL=https://vault.internal.example.com
vaultlier pull --env=prod