Ghostable v2 introduces a new, faster CLI built with TypeScript and npm, replacing the older PHP-based Composer package. This guide will help you safely migrate your existing environments to the new CLI while maintaining all your encrypted data.Documentation Index
Fetch the complete documentation index at: https://docs.ghostable.dev/llms.txt
Use this file to discover all available pages before exploring further.
1. Overview
In this version, the CLI is now distributed via npm (@ghostable/cli), and supports a
zero-knowledge architecture — meaning encryption happens entirely on your machine before any
data reaches Ghostable.You’ll still use your same Ghostable account and environments; this process simply re-establishes your workspace under the new CLI.
2. Pull Existing Environments (from v1)
Before migrating, download your current.env files locally using the legacy PHP CLI.
3. Install the New CLI
Install the new Ghostable CLI using npm:For full installation details, see the v2 Installation
Guide.