CipherStash CLI (v0.10.1) — single command for authentication, project initialization, EQL database lifecycle (install, upgrade, validate, push, migrate), encryption schema building, and secrets management. Requires Node >=22 and peer dependency @cipherstash/stack >=0.6.0. Ships TypeScript types. Differentiators: unified CLI replacing separate tools, auto-detects and scaffolds stash.config.ts, supports Supabase and Drizzle providers. Release cadence: minor updates monthly.
npm install stashNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install CLI, authenticate, scaffold encryption client and schema, install EQL extensions.
Use import statements and set "type": "module" in package.json.
Check documentation for current recommended approach.
Ensure .env values are set correctly and not shadowed by shell environment.
Set umask or chmod 600 on the file after login.
Replace const x = require('@cipherstash/cli') with import { defineConfig } from '@cipherstash/cli' and ensure "type": "module" in package.json.Run npm install @cipherstash/stack to install the peer dependency.
Run npx @cipherstash/cli db install first to scaffold the config, or create stash.config.ts manually with defineConfig.
Set DATABASE_URL in .env or define databaseUrl in your stash.config.ts.