# EnvironmentEditor

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `13.3.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

## Definition

```typescript
interface EnvironmentEditor {
  set(
      name: string,
      value: IExpressionValue): void;
}
```

## Methods

- [set](/reference/api/typescript/aspire.hosting/environmenteditor/set.md) -- `method` -- Sets an environment variable
    ```typescript
  set(name: string, value: IExpressionValue): void
  ```
