Docs / Getting Started

Getting Started

This guide walks you through installing SlickEnv, authenticating, and pushing your first environment. The whole process takes under two minutes.

1. Install the CLI

Run the install script. It works on macOS, Linux, and Windows via WSL. There are no runtime dependencies.

$ curl -fsSL https://slickenv.dev/install | sh

Alternatively, install via Homebrew:

$ brew install slickenv/tap/slickenv

Verify the installation:

$ slickenv --version
slickenv 1.0.0

2. Authenticate

Sign in with your GitHub or Google account. The CLI opens your browser for OAuth and stores the token securely in your system keychain.

$ slickenv login
→ Opening browser for authentication...
✓ Authenticated as you@example.com

3. Initialise your project

Navigate to your project directory and run init. This links the directory to a SlickEnv project and environment.

$ cd my-project
$ slickenv init
? Project name: my-project
? Environment: development
✓ Initialised — linked to my-project/development

This creates a small .slickenv config file in your project root. Add it to your .gitignore.

4. Push your environment

Push your local .env file to SlickEnv. It is encrypted, versioned, and stored securely.

$ slickenv push
✓ Pushed 14 variables — version 1 created.

5. Pull on another machine

On a new machine or after cloning the repo, authenticate and pull. The latest environment is written to your local .env file.

$ slickenv login
$ slickenv pull
✓ Pulled version 1 — .env updated with 14 variables.

Next steps