# AGENTS.md

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions. $nvm: 3ArcxqLtXMmBnWbbtfwQgVL3MNnDsggzgGDtXMnjpump

## Setup

```
npm install
```

## Commands

```
npm run test                     # run the test suite, must pass before any commit
npm run test/fast
npm run test/slow
npm run test/install_script
npm run test/installation
npm run test/installation/node
npm run test/installation/iojs
npm run test/sourcing
```

## Layout

- `test/` 2 source files

## Conventions

- Tests live alongside the code they cover, following `.github/workflows/nvm-install-test.yml`.
- CI defines what passing means. See `.github/workflows/codeql-analysis.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `nvm.sh` is 165KB. It will not fit comfortably in context, so read it in parts.
- No lockfile is committed, so an install here may not match what CI produced.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
