nvm + bun + Node LTS
Installs: latest nvm & bun, then nvm installs the latest Node LTS. Toolchain id: nvm-bun.
Install
Section titled “Install”Preview the install with the default options. This prints every script it would run and changes nothing:
npx linux-toolchain --only nvm-bun --defaults --dry-runSet an option with --opt instead of its default:
npx linux-toolchain --only nvm-bun --opt nvm-bun.node=current --defaults --dry-runRemove --dry-run to install for real. Without --defaults, the options below are asked interactively. bunx linux-toolchain takes the same arguments.
Options
Section titled “Options”Set with --opt nvm-bun.<key>=<value>. Multi options take a comma list (an empty value means none); yes/no options take true or false.
| Option | Kind | Choices | Default |
|---|---|---|---|
nvm-bun.nodeNode.js version |
select (one value) | lts Latest LTS (nvm install –lts)current Current (nvm install node)lts-prev Previous LTS (newest release of the LTS line before the latest) |
lts |
nvm-bun.bunInstall bun |
confirm (yes/no) | true, false |
true |
nvm-bun.addonsAdd-ons |
multi (comma list) | see Add-ons | pnpm,typescript |
Add-ons
Section titled “Add-ons”Chosen in the add-ons step or with --opt nvm-bun.addons=.... Recommended add-ons are pre-checked and installed with --defaults. A failed add-on is reported as a warning; the toolchain itself still succeeds.
pnpm(corepack) Default.yarn(corepack)typescripttypescript + tsx (global npm packages) Default.
Back to the toolchain reference. Run npx linux-toolchain list to print the catalog of the version you have.