---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [config](../index.md) / EnvFileSelectionOptions

# Interface: EnvFileSelectionOptions

Defined in: [packages/b2c-tooling-sdk/src/config/project-environment.ts:32](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/bceb8da43dd8bc63d57932bbd905d36a1b40c949/packages/b2c-tooling-sdk/src/config/project-environment.ts#L32)

Options for selecting a project env file.

## Properties

### envFile?

> `optional` **envFile**: `string`

Defined in: [packages/b2c-tooling-sdk/src/config/project-environment.ts:38](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/bceb8da43dd8bc63d57932bbd905d36a1b40c949/packages/b2c-tooling-sdk/src/config/project-environment.ts#L38)

Explicit env file path. An empty string selects no env file; `undefined`
selects `<projectDirectory>/.env` when it exists. Relative paths resolve
from the current working directory.

***

### projectDirectory?

> `optional` **projectDirectory**: `string`

Defined in: [packages/b2c-tooling-sdk/src/config/project-environment.ts:40](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/bceb8da43dd8bc63d57932bbd905d36a1b40c949/packages/b2c-tooling-sdk/src/config/project-environment.ts#L40)

Directory searched for the default `.env` (default: current working directory)
