# @nodenv/nodenv-installer

> Installer and doctor scripts for nodenv

Latest version **2.0.1** (published 2023-02-27) · 0 weekly downloads

## Install

```sh
npm install @nodenv/nodenv-installer
pnpm add @nodenv/nodenv-installer
yarn add @nodenv/nodenv-installer
bun add @nodenv/nodenv-installer
```

Provides the commands `nodenv-doctor`, `nodenv-installer`.

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2023-02-27 |
| First published | 2018-12-22 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 18.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 33 |
| Maintainers | jasonkarns, nodenv-bot |
| Keywords | nodenv, install, installer, doctor, debug, help |

## Links

- npm: https://www.npmjs.com/package/@nodenv/nodenv-installer
- Repository: https://github.com/nodenv/nodenv-installer
- Homepage: https://github.com/nodenv/nodenv-installer#readme
- Issues: https://github.com/nodenv/nodenv-installer/issues
- npm.io page: https://npm.io/package/@nodenv/nodenv-installer

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 2.0.1 (latest) — 2023-02-27
- 2.0.0 — 2023-02-27
- 1.0.1 — 2023-02-22
- 1.0.0 — 2018-12-22

## README

# nodenv installer & doctor scripts

<!-- toc -->

- [nodenv-installer](#nodenv-installer)
- [nodenv-doctor](#nodenv-doctor)
- [Credits](#credits)

<!-- tocstop -->

## nodenv-installer

The `nodenv-installer` script idempotently installs or updates nodenv on your
system. If Homebrew is detected, installation will proceed using `brew
install/upgrade`. Otherwise, nodenv is installed under `~/.nodenv`.

Additionally, [node-build](https://github.com/nodenv/node-build#readme) is also
installed if `nodenv install` is not already available.

```sh
# with curl
curl -fsSL https://github.com/nodenv/nodenv-installer/raw/HEAD/bin/nodenv-installer | bash

# alternatively, with wget
wget -q https://github.com/nodenv/nodenv-installer/raw/HEAD/bin/nodenv-installer -O- | bash

# with npx/npm
npx @nodenv/nodenv-installer
```

The installer script is meant for casual use on your own development machine.
For automating installation across machines it's better to _avoid_ using this
script in favor of fine-tuning nodenv & node-build installation manually. Some
environments—such as container images meant for either Node development or
production—should not be switching between multiple Node versions at all, so if
you are installing nodenv there, you are likely doing something wrong.

## nodenv-doctor

You can verify the state of your nodenv installation with:

```sh
# with curl
curl -fsSL https://github.com/nodenv/nodenv-installer/raw/HEAD/bin/nodenv-doctor | bash

# alternatively, with wget
wget -q https://github.com/nodenv/nodenv-installer/raw/HEAD/bin/nodenv-doctor -O- | bash

# with npx/npm
npx -p @nodenv/nodenv-installer nodenv-doctor
```

## Credits

Forked from [Mislav Marohnić][mislav]'s [rbenv-installer][] and modified for node.

[mislav]: https://github.com/mislav
[rbenv-installer]: https://github.com/rbenv/rbenv-installer

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