> For the complete CircleCI developer hub index, see [llms.txt](https://circleci.com/developer/llms.txt)

# anilanar/dotenv

Allows you to reuse .env files, by making it available as env vars. Only guranteed to work when shell is bash. Depens on cat, awk.

## Commands

### source

Sources an .env file.

| Parameter | Type | Default | Description |
|---|---|---|---|
| `path` | string |  | Path to the .env file. Relative to working directory or absolute. |

## Examples

### basic

Basic usage

```yaml
version: 2.1
orbs:
  dotenv: anilanar/dotenv@volatile
jobs:
  build:
    docker:
      - image: circleci/node:8.17
    working_directory: ~/repo
    steps:
      - checkout
      - dotenv/source:
          path: .env
      - run: make build
```