The last version form is for specifying other releases available using the name of the remote download folder optionally followed by the complete or incomplete version. active, lts_active, lts_latest, lts, current, supported.These Node.js support aliases may be used, although simply resolve to the latest matching version: brew install node Also known as: node.js, node20, nodejs, npm Platform built on V8 to build network applications License: MIT Formula JSON API: /api/formula/node.json Formula code: node. argon, boron, carbon: codenames for LTS release streams.There is support for the named release streams: Requires an installed version of node, and uses npx semver to resolve complex ranges. The engine label looks for a package.json file and reads the engines field to determine compatible Node.js. ![]() if no version file found, look for engine as below.The following will update the local ports tree to get access to updated versions. Used by multiple tools: node-version-usage brew update brew upgrade node MacPorts MacPorts is the other package manager for Mac. There is an auto label to read the target version from a file in the current directory, or any parent directory. latest, current: newest official release.lts: newest Long Term Support official release.There are labels for two especially useful versions: ![]() Numeric version numbers can be complete or incomplete, with an optional leading v. Most commands use the latest matching version, and n ls-remote lists multiple matching versions. There are a variety of ways of specifying the target Node.js version for n commands. If the active node version does not change after install, try opening a new shell in case seeing a stale version. (You can also use j and k to select next or previous version instead of using arrows, or ctrl+n and ctrl+p.) Use up/down arrow keys to select a version, return key to install, d to delete, q to quit
0 Comments
Leave a Reply. |