slickenv init
Initialise a project directory and link it to a SlickEnv project and environment.
$ slickenv init [--project <name>] [--env <environment>]| Flag | Description |
|---|---|
| --project | Project name (prompted if omitted) |
| --env | Environment name, e.g. development, staging, production |
slickenv push
Push local .env variables to the remote store. Creates a new version.
$ slickenv push [--message <msg>] [--force]| Flag | Description |
|---|---|
| --message, -m | Version message describing the change |
| --force | Skip conflict detection and overwrite remote |
slickenv pull
Pull the latest version from the remote store and write it to your local .env file.
$ slickenv pull [--version <number>] [--force]| Flag | Description |
|---|---|
| --version, -v | Pull a specific version instead of latest |
| --force | Overwrite local .env without conflict check |
slickenv status
Show the current sync status: whether your local .env matches the remote version.
$ slickenv status
Project: my-project
Environment: development
Local: 14 variables
Remote: v7 — 14 variables
Status: ✓ In syncslickenv versions
List all versions of the current environment with timestamps, variable counts, and messages.
$ slickenv versions [--limit <n>]slickenv diff
Compare your local .env against the remote version. Shows added, removed, and changed variables.
$ slickenv diff
+ NEW_API_KEY=sk_live_xyz789
- OLD_API_KEY=sk_live_abc123
~ DATABASE_URL
Local: postgres://localhost:5432/myapp_dev
Remote: postgres://prod-db:5432/myappslickenv rollback
Restore a previous version as the current local .env.
$ slickenv rollback <version>
$ slickenv rollback v5
✓ Rolled back to v5 — .env updated with 12 variables.slickenv share
Generate a one-time share link for the current environment. The link expires after one use or after the specified duration.
$ slickenv share [--expires <duration>]
$ slickenv share --expires 1h
✓ Share link created (expires in 1 hour):
https://slickenv.dev/s/abc123xyz| Flag | Description |
|---|---|
| --expires | Expiration duration, e.g. 1h, 24h, 7d (default: 24h) |
slickenv export
Export the current environment to a file in .env, JSON, or YAML format.
$ slickenv export [--format <env|json|yaml>] [--output <path>]| Flag | Description |
|---|---|
| --format, -f | Output format: env, json, yaml (default: env) |
| --output, -o | Output file path (default: stdout) |
slickenv login
Authenticate with SlickEnv via GitHub or Google OAuth. Opens your browser and stores the token in your system keychain.
$ slickenv loginslickenv logout
Sign out and remove stored credentials from your system keychain.
$ slickenv logout
✓ Signed out.slickenv --help
Display help information for any command.
$ slickenv --help
$ slickenv push --help