subdomains/docs/_advanced/packages.md
Details about the process of installing package binaries.
Internally, volta install <tool> uses npm-style resolution to determine which versions are available and the download location for package binaries. Accordingly, to redirect and use an internal repository (i.e. to install an internal tool from a private repo), you can create a .npmrc file in your home directory. Options specified there will be honored when resolving and downloading a tool, as well as when resolving the dependencies of a given tool.
As described in Understanding Volta, Volta will pin a version of Node when a tool is installed, so that the tool can continue to be used, even if the default Node version changes. The process used to determine which version should be pinned is as follows:
engines specified in package.json, use the latest version of Node that meets the requirements in enginesengines specified in package.json, use the latest LTS version of Node that meets the requirementsenginesengines isn't available, use the most recent LTS version of NodeStarting with Volta 0.9.0, Volta will pin a package to your current default Node version (at the time the tool was installed). You can change that version by changing your default, or by running the install with volta run:
volta run --node 15 npm i -g ember-cli