{"id":13648439,"url":"https://github.com/nodenv/node-build","last_synced_at":"2026-03-06T05:54:35.053Z","repository":{"id":7367387,"uuid":"8693113","full_name":"nodenv/node-build","owner":"nodenv","description":"A tool to download, compile, and install Node on Unix-like systems.","archived":false,"fork":false,"pushed_at":"2026-01-14T13:48:39.000Z","size":5297,"stargazers_count":285,"open_issues_count":26,"forks_count":83,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-01-14T17:34:43.222Z","etag":null,"topics":["build-tool","nodejs","nodenv","nodenv-plugin","version-manager"],"latest_commit_sha":null,"homepage":"","language":"Roff","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodenv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-03-10T23:10:12.000Z","updated_at":"2026-01-14T13:48:16.000Z","dependencies_parsed_at":"2023-10-16T13:31:49.378Z","dependency_job_id":"bf81d609-d3a3-4ce5-87dc-e3d8058a8bb0","html_url":"https://github.com/nodenv/node-build","commit_stats":{"total_commits":2570,"total_committers":310,"mean_commits":8.290322580645162,"dds":0.7280155642023347,"last_synced_commit":"bc0482f318feffedf4c4b2cd14e99c016d614ff9"},"previous_names":[],"tags_count":352,"template":false,"template_full_name":null,"purl":"pkg:github/nodenv/node-build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnode-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnode-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnode-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnode-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodenv","download_url":"https://codeload.github.com/nodenv/node-build/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnode-build/sbom","scorecard":{"id":113016,"data":{"date":"2025-08-15T13:58:37Z","repo":{"name":"github.com/nodenv/node-build","commit":"fa2a30f8a96c2c03ad8422c32d27737573ae62b4"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":8,"checks":[{"name":"Code-Review","score":2,"reason":"Found 3/11 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/definitions.yml:10","Info: jobLevel 'contents' permission set to 'read': .github/workflows/definitions.yml:37","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:8","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/sync-default-branch.yml:9","Info: jobLevel 'contents' permission set to 'read': .github/workflows/test.yml:15","Info: jobLevel 'packages' permission set to 'read': .github/workflows/test.yml:16","Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/test.yml:18","Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/test.yml:19","Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/test.yml:23","Info: jobLevel 'contents' permission set to 'read': .github/workflows/test.yml:23","Info: found token with 'none' permissions: .github/workflows/definitions.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/release.yml:4","Info: found token with 'none' permissions: .github/workflows/sync-default-branch.yml:1","Info: found token with 'none' permissions: .github/workflows/test.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/version.yml:12"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:   6 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   9 out of   9 third-party GitHubAction dependencies pinned","Info:   4 out of   4 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (26) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/nodenv/.github/docs/SECURITY.md:1","Info: Found linked content: github.com/nodenv/.github/docs/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/nodenv/.github/docs/SECURITY.md:1","Info: Found text in security policy: github.com/nodenv/.github/docs/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'","Warn: could not determine whether codeowners review is allowed","Warn: no status checks found to merge onto branch 'main'","Warn: PRs are not required to make changes on branch 'main'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"CI-Tests","score":10,"reason":"10 out of 10 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}},{"name":"Contributors","score":10,"reason":"project has 104 contributing companies or organizations","details":["Info: found contributions from: 3AMproductions, AlmaLinux, BSidesSF, NewRosies, RubiesOnDaCloud, RubyBAQ, RubyConfCo, almalinux, antipop-rubykaigi, asakusarb, automaticruby, basecamp, bats-core, bliki-ja, bluepill-rb, bundler, carlhuda, charlotte-ruby, codeforamerica, cucumber, departurerb, dictation-toolbox, erikhuda, esm  (@esminc), esminc, faker-ruby, fastladder, fluent, freebsd, fukuoka-debian, fukuokarb, funemployed, github-beta, graalvm, groovenauts, hackforchange, headius enterprises, heapsource, hex-inc, hiki, idobata, intridea, ios-driver, jenkinsci, jnr, jruby, keccon2012, linemanjs, lostisland, medley-inc, mendicant-original, mirah, modelcontextprotocol, mogotest, mozart, mozilla, msgpack, neutrinolabs, nodejs, nodenv, octokit, openjdk-mirror, oracle, oracle labs, oss-gate, planetruby, puma, rack, rails, rails-api, railsgirls, railsgirls-jp, railsgsoc, rbenv, rdoc, redcar, redis-rb, rubber, rubinius, rubocop, rubocop-hq, rubocop-jp, ruboto, ruby, ruby @rubygems @rbenv @88labs @andpad-dev, ruby-concurrency, rubybib, rubygems, rubysec, rupyconf, rvm, scottlogic, shopify, sounddrop, syndicated-media, tdiary, tengine, testcontainers, testdouble, treasure data, treasure-data, turbolinks, tweetstream, yoinkgems"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}}]},"last_synced_at":"2025-08-15T15:45:50.351Z","repository_id":7367387,"created_at":"2025-08-15T15:45:50.352Z","updated_at":"2025-08-15T15:45:50.352Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28588971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T20:45:59.482Z","status":"ssl_error","status_checked_at":"2026-01-19T20:45:41.500Z","response_time":67,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build-tool","nodejs","nodenv","nodenv-plugin","version-manager"],"created_at":"2024-08-02T01:04:15.198Z","updated_at":"2026-01-19T23:06:57.405Z","avatar_url":"https://github.com/nodenv.png","language":"Roff","readme":"# node-build\n\nDownload, compile, and install Node on Unix-like systems.\n\n[![Tests](https://img.shields.io/github/actions/workflow/status/nodenv/node-build/test.yml?label=tests\u0026logo=github)](https://github.com/nodenv/node-build/actions/workflows/test.yml)\n[![Latest GitHub Release](https://img.shields.io/github/v/release/nodenv/node-build?label=github\u0026logo=github\u0026sort=semver)](https://github.com/nodenv/node-build/releases/latest)\n[![Latest Homebrew Release](https://img.shields.io/homebrew/v/node-build?logo=homebrew\u0026logoColor=white)](https://formulae.brew.sh/formula/node-build)\n[![Latest npm Release](https://img.shields.io/npm/v/@nodenv/node-build?logo=npm\u0026logoColor=white)](https://www.npmjs.com/package/@nodenv/node-build/v/latest)\n\nnode-build is a command-line tool that simplifies installation of any Node version from source or precompiled binary on Unix-like systems.\n\nIt is available as a plugin for [nodenv][] as the `nodenv install` command, or as a standalone program as the `node-build` command.\n\n\u003c!-- toc --\u003e\n\n- [Installation](#installation)\n  * [Upgrading](#upgrading)\n    + [Updating available build versions](#updating-available-build-versions)\n- [Usage](#usage)\n  * [Basic Usage](#basic-usage)\n  * [Advanced Usage](#advanced-usage)\n    + [Binaries](#binaries)\n    + [Custom Build Definitions](#custom-build-definitions)\n    + [Custom Build Configuration](#custom-build-configuration)\n    + [Applying Patches](#applying-patches)\n    + [Checksum Verification](#checksum-verification)\n    + [Package Mirrors](#package-mirrors)\n    + [Keeping the build directory after installation](#keeping-the-build-directory-after-installation)\n    + [Retry installation without v/node-/node-v prefix](#retry-installation-without-vnode-node-v-prefix)\n- [Getting Help](#getting-help)\n- [Credits](#credits)\n\n\u003c!-- tocstop --\u003e\n\n## Installation\n\n### Homebrew package manager\n```sh\nbrew install node-build\n```\n\nUpgrade with:\n```sh\nbrew upgrade node-build\n```\n\n### Clone as nodenv plugin using git\n```sh\ngit clone https://github.com/nodenv/node-build.git \"$(nodenv root)\"/plugins/node-build\n```\n\nUpgrade with:\n```sh\ngit -C \"$(nodenv root)\"/plugins/node-build pull\n```\n\n### Install manually as a standalone program\n\nFirst, download a tarball from https://github.com/nodenv/node-build/releases/latest. Then:\n```sh\ntar -xzf node-build-*.tar.gz\nPREFIX=/usr/local ./node-build-*/install.sh\n```\n\n## Usage\n\n### Basic Usage\n\n```sh\n# As a nodenv plugin\n$ nodenv install --list                    # lists all available versions of Node\n$ nodenv install 10.13.0                   # installs Node 10.13.0 to ~/.nodenv/versions\n\n# As a standalone program\n$ node-build --definitions                 # lists all available versions of Node\n$ node-build 10.13.0 ~/local/node-10.13.0  # installs Node 10.13.0 to ~/local/node-10.13.0\n```\n\n\u003e **Warning**\n\u003e node-build mostly does not verify that system dependencies are present before downloading and attempting to compile Node from source. Please ensure that [all requisite libraries][build-env] such as build tools and development headers are already present on your system.\n\nFirstly, if a precompiled binary exists for your platform, node-build downloads and installs it.\nOtherwise it will build node from source.\nBasically, what node-build does when installing a Node version is this:\n- Downloads an official tarball of Node source code;\n- Extracts the archive into a temporary directory on your system;\n- Executes `./configure --prefix=/path/to/destination` in the source code;\n- Runs `make install` to compile Node;\n- Verifies that the installed Node is functional.\n\n### Advanced Usage\n\n#### Binaries\n\nBy default, node-build will attempt to match one of the precompiled binaries\nto your platform. If there is a binary for your platform, it will install it\ninstead of compiling from source. To force compilation, pass the `-c` or\n`--compile` flag.\n\n#### Custom Build Definitions\n\nTo install a version of Node that is not recognized by node-build, you can specify the path to a custom build definition file in place of a Node version number.\n\nCheck out [default build definitions][definitions] as examples on how to write definition files.\n\n##### Generating Latest-Release Build Definitions\n\nAdditionally, check out the [node-build-update-defs][] plugin.\nIt generates the standard build definitions for releases available from nodejs.org.\nThis allows you to install node versions as soon as they are available from nodejs.org,\nwithout waiting for node-build itself to provide them. Once installed:\n\n``` shell\nnodenv update-version-defs\n```\n\n#### Custom Build Configuration\n\nThe build process may be configured through the following environment variables:\n\n| Variable                        | Function                                                                                           |\n| ------------------------------- | -------------------------------------------------------------------------------------------------- |\n| `TMPDIR`                        | Where temporary files are stored.                                                                  |\n| `NODE_BUILD_BUILD_PATH`         | Where sources are downloaded and built. (Default: a timestamped subdirectory of `TMPDIR`)          |\n| `NODE_BUILD_CACHE_PATH`         | Where to cache downloaded package files. (Default: `~/.nodenv/cache` if invoked as nodenv plugin)  |\n| `NODE_BUILD_HTTP_CLIENT`        | One of `aria2c`, `curl`, or `wget` to use for downloading. (Default: first one found in PATH)      |\n| `NODE_BUILD_ARIA2_OPTS`         | Additional options to pass to `aria2c` for downloading.                                            |\n| `NODE_BUILD_CURL_OPTS`          | Additional options to pass to `curl` for downloading.                                              |\n| `NODE_BUILD_WGET_OPTS`          | Additional options to pass to `wget` for downloading.                                              |\n| `NODE_BUILD_MIRROR_CMD`         | A command to construct the package mirror URL.                                                     |\n| `NODE_BUILD_MIRROR_URL`         | Custom mirror URL root.                                                                            |\n| `NODE_BUILD_MIRROR_PACKAGE_URL` | Custom complete mirror URL (e.g. http://mirror.example.com/package-1.0.0.tar.gz).                  |\n| `NODE_BUILD_SKIP_MIRROR`        | Bypass the download mirror and fetch all package files from their original URLs.                   |\n| `NODE_BUILD_ROOT`               | Custom build definition directory. (Default: `share/node-build`)                                   |\n| `NODE_BUILD_TARBALL_OVERRIDE`   | Override the URL to fetch the node tarball from, optionally followed by `#checksum`.               |\n| `NODE_BUILD_DEFINITIONS`        | Additional paths to search for build definitions. (Colon-separated list)                           |\n| `CC`                            | Path to the C compiler.                                                                            |\n| `NODE_CFLAGS`                   | Additional `CFLAGS` options (_e.g.,_ to override `-O3`).                                           |\n| `CONFIGURE_OPTS`                | Additional `./configure` options.                                                                  |\n| `MAKE`                          | Custom `make` command (_e.g.,_ `gmake`).                                                           |\n| `MAKE_OPTS` / `MAKEOPTS`        | Additional `make` options.                                                                         |\n| `MAKE_INSTALL_OPTS`             | Additional `make install` options.                                                                 |\n| `NODE_CONFIGURE_OPTS`           | Additional `./configure` options (applies only to Node source).                                    |\n| `NODE_MAKE_OPTS`                | Additional `make` options (applies only to Node source).                                           |\n| `NODE_MAKE_INSTALL_OPTS`        | Additional `make install` options (applies only to Node source).                                   |\n\n#### Applying Patches\n\nBoth `nodenv install` and `node-build` commands support the `-p/--patch` flag to apply a patch to the Node source code before building. Patches are read from standard input:\n\n```sh\n# applying a single patch\n$ nodenv install --patch 11.1.0 \u003c /path/to/node.patch\n\n# applying a patch from HTTP\n$ nodenv install --patch 11.1.0 \u003c \u003c(curl -sSL http://git.io/node.patch)\n\n# applying multiple patches\n$ cat fix1.patch fix2.patch | nodenv install --patch 11.1.0\n```\n\n#### Checksum Verification\n\nAll Node definition files bundled with node-build include checksums for packages, meaning that all externally downloaded packages are automatically checked for integrity after fetching.\n\nSee the next section for more information on how to author checksums.\n\n#### Package Mirrors\n\nTo speed up downloads, node-build can fetch package files from a mirror.\nTo benefit from this, the packages must specify their checksum:\n\n```sh\n # example:\n install_package \"node-v12.0.0\" \"https://nodejs.org/dist/v12.0.0/node-v12.0.0.tar.gz#\u003cSHA2\u003e\"\n```\n\nnode-build will first try to fetch this package from `$NODE_BUILD_MIRROR_URL/\u003cSHA2\u003e`\n(note: this is the complete URL), where `\u003cSHA2\u003e` is the checksum for the file. It\nwill fall back to downloading the package from the original location if:\n- the package was not found on the mirror;\n- the mirror is down;\n- the download is corrupt, i.e. the file's checksum doesn't match;\n- no tool is available to calculate the checksum; or\n- `NODE_BUILD_SKIP_MIRROR` is enabled.\n\nYou may specify a custom mirror by setting `NODE_BUILD_MIRROR_URL`.\n\nIf a mirror site doesn't conform to the above URL format, you can specify the\ncomplete URL by setting `NODE_BUILD_MIRROR_PACKAGE_URL`. It behaves the same as\n`NODE_BUILD_MIRROR_URL` except being a complete URL.\n\nFor more control over the construction of the mirror url, you can specify a command\nby setting `NODE_BUILD_MIRROR_CMD`. node-build will invoke `NODE_BUILD_MIRROR_CMD`\nwith two arguments: `package_url` and `checksum`. The provided command should\nprint the desired mirror's complete package URL to `STDOUT`.\n\n#### Keeping the build directory after installation\n\nBoth `node-build` and `nodenv install` accept the `-k` or `--keep` flag, which\ntells node-build to keep the downloaded source after installation. This can be\nuseful if you need to use `gdb` and `memprof` with Node.\n\nSource code will be kept in a parallel directory tree `$(nodenv root)/sources`\nwhen using `--keep` with the `nodenv install` command. You should specify the\nlocation of the source code with the `NODE_BUILD_BUILD_PATH` environment\nvariable when using `--keep` with `node-build`.\n\n#### Retry installation without v/node-/node-v prefix\n\nThe nodenv-install plugin can attempt a retry if the installation failed due\nto a missing definition file. If the given node version name begins with\n'v', 'node', or 'node-v', the retry will drop the prefix and try again. For\ninstance, if `nodenv install node-v11.0.0` fails because a definition file\ndoes not exist by the name \"node-v11.0.0\", it will retry as \"11.0.0\".\nFor this retry to be attempted, the environment variable `NODENV_PREFIX_RETRY`\nmust be non-empty.\n\n## Getting Help\n\nPlease see the [node-build wiki][wiki] for solutions to common problems.\nAlso, check out the [ruby-build wiki][].\n\nIf you can't find an answer on the wiki, open an issue on the [issue tracker][].\nBe sure to include the full build log for build failures.\n\n## Credits\n\nForked from [Sam Stephenson][]'s [ruby-build][] by [Will McKenzie][]\nand modified for node.\n\n  [nodenv]: https://github.com/nodenv/nodenv#readme\n  [definitions]: https://github.com/nodenv/node-build/tree/main/share/node-build\n  [wiki]: https://github.com/nodenv/node-build/wiki\n  [build-env]: https://github.com/nodenv/node-build/wiki#suggested-build-environment\n  [issue tracker]: https://github.com/nodenv/node-build/issues\n  [node-build-update-defs]: https://github.com/nodenv/node-build-update-defs\n  [Sam Stephenson]: https://github.com/sstephenson\n  [Will McKenzie]: https://github.com/oinutter\n  [ruby-build]: https://github.com/rbenv/ruby-build\n  [ruby-build wiki]: https://github.com/rbenv/ruby-build/wiki\n","funding_links":[],"categories":["Roff"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodenv%2Fnode-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodenv%2Fnode-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodenv%2Fnode-build/lists"}