# Install if-env with npm

Simplify npm scripts with "if-env . && npm run this || npm run that". Version 1.0.4 via npm; verified 2018-01-28.

## Install

```sh
sudo av install npm:if-env
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g if-env
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:if-env
- **Package manager:** npm
- **Version:** 1.0.4
- **Source summary:** Simplify npm scripts with "if-env . && npm run this || npm run that"
- **Homepage:** <https://github.com/ericclemmons/if-env#readme>
- **Last updated:** 2018-01-28T00:08:52.600Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- if-env (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0.4

## Security Notes

No matching local secret-handling manifest was found for if-env. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Sources

- pkg.so package database
- pkgdb category and tag curation
- cross-ecosystem install command graph
