# yeoman-environment

> Handles the lifecyle and bootstrapping of generators in a specific environment

Latest version **7.0.0** (published 2026-09-06) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install yeoman-environment
pnpm add yeoman-environment
yarn add yeoman-environment
bun add yeoman-environment
```

Provides the command `yoe`.

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 7.0.0 |
| Published | 2026-09-06 |
| First published | 2014-10-06 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^22.18.0 \|\| >=24.11.0 |
| Dependencies | 21 |
| Unpacked size | 122.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 131 |
| Author | Yeoman |
| Maintainers | sboudrias, mischah, ulisesgascon, mshima, joshuakgoldberg, eddiemonge, sindresorhus, addyosmani |
| Keywords | development, dev, build, tool, cli, scaffold, scaffolding, generate, generator, yeoman, app |

## Links

- npm: https://www.npmjs.com/package/yeoman-environment
- Repository: https://github.com/yeoman/environment
- Homepage: http://yeoman.io
- Issues: https://github.com/yeoman/environment/issues
- npm.io page: https://npm.io/package/yeoman-environment

## Dependencies (21)

- [chalk](https://npm.io/package/chalk.md) ^6.0.0
- [debug](https://npm.io/package/debug.md) ^4.4.3
- [execa](https://npm.io/package/execa.md) ^10.0.1
- [slash](https://npm.io/package/slash.md) ^5.1.0
- [arrify](https://npm.io/package/arrify.md) ^3.0.0
- [globby](https://npm.io/package/globby.md) ^16.2.4
- [mem-fs](https://npm.io/package/mem-fs.md) ^6.0.0
- [semver](https://npm.io/package/semver.md) ^7.8.5
- [commander](https://npm.io/package/commander.md) ^15.0.0
- [lodash-es](https://npm.io/package/lodash-es.md) ^4.18.1
- [untildify](https://npm.io/package/untildify.md) ^6.0.0
- [fly-import](https://npm.io/package/fly-import.md) ^1.0.0
- [locate-path](https://npm.io/package/locate-path.md) ^8.0.0
- [@yeoman/types](https://npm.io/package/@yeoman/types.md) ^1.13.1
- [grouped-queue](https://npm.io/package/grouped-queue.md) ^2.1.0
- [mem-fs-editor](https://npm.io/package/mem-fs-editor.md) ^12.0.9
- [@yeoman/adapter](https://npm.io/package/@yeoman/adapter.md) ^5.0.0
- [@yeoman/namespace](https://npm.io/package/@yeoman/namespace.md) ^2.1.0
- [@yeoman/transform](https://npm.io/package/@yeoman/transform.md) ^2.1.2
- [@yeoman/conflicter](https://npm.io/package/@yeoman/conflicter.md) ^4.2.0
- [which-package-manager](https://npm.io/package/which-package-manager.md) ^1.0.1

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 7.0.0 (latest) — 2026-09-06
- 5.0.0-beta.2 (next) — 2025-09-24
- 3.0.0-rc.1 (next-3) — 2021-02-20
- 6.3.0 — 2026-09-02
- 6.2.0 — 2026-08-24
- 6.1.0 — 2026-04-29
- 6.0.1 — 2026-04-09
- 6.0.0 — 2026-02-28
- 5.1.3 — 2026-02-05
- 5.1.2 — 2025-12-19
- 5.1.1 — 2025-11-19
- 5.1.0 — 2025-11-17
- 5.0.0 — 2025-09-25
- 5.0.0-beta.1 — 2025-08-19
- 5.0.0-beta.0 — 2025-05-13
- … 127 more at https://npm.io/package/yeoman-environment/versions

## README

# Yeoman Environment

[![npm](https://badge.fury.io/js/yeoman-environment.svg)](http://badge.fury.io/js/yeoman-environment) [![NPM Test](https://github.com/yeoman/environment/actions/workflows/ci.yml/badge.svg)](https://github.com/yeoman/environment/actions/workflows/ci.yml) [![Coverage Status](https://coveralls.io/repos/github/yeoman/environment/badge.svg?branch=master)](https://coveralls.io/github/yeoman/environment?branch=master) [![Gitter](https://img.shields.io/badge/Gitter-Join_the_Yeoman_chat_%E2%86%92-00d06f.svg)](https://gitter.im/yeoman/yeoman)

> Handles the lifecycle and bootstrapping of generators in a specific environment

It provides a high-level API to discover, create and run generators, as well as further tuning of where and how a generator is resolved.

## Install

```
$ npm install yeoman-environment
```

## Usage

Full documentation available [here](http://yeoman.io/authoring/integrating-yeoman.html).

```js
import { createEnv } from 'yeoman-environment';

// The #lookup() method will search the user computer for installed generators
// The search if done from the current working directory
await env.lookup();
await env.run('angular', { skipInstall: true });
```

For advance usage, see [our API documentation for latest yeoman-environment](http://yeoman.github.io/environment).

[API documentation for yeoman-environment v2.x](http://yeoman.github.io/environment/2.x).

## License

BSD-2-Clause © Yeoman

---
_Source: https://npm.io/package/yeoman-environment · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
