These Node.js support aliases may be used, although simply resolve to the latest matching version: 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.Used by multiple tools: node-version-usage 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |