---
title: CommandEnv
description: "The `env` of a `command`: for each variable, `secret(\"name\")` for the value of an Effect secret, or `secret(\"name\").path` for the path of a file that holds it."
---

# `CommandEnv`

Type, in `@jr2/orchestrator/src/sandbox-effect.ts`. The signature of an export, or a type that it names, names this type. The [Authoring surface](../authoring-surface.md) page lists each export. This type is not an export of `@jr2/orchestrator`, so a workflow module does not import it by name.

```ts
type CommandEnv = Readonly<Record<string, { readonly secret: string; readonly path: unknown }>>;
```

The `env` of a `command`: for each variable, `secret("name")` for the value of an Effect
secret, or `secret("name").path` for the path of a file that holds it.
