NodeJS
As an asynchronous event-driven JavaScript runtime, Node.js is designed to build scalable network applications. users of Node.js are free from worries of dead-locking the process, since there are no locks. Almost no function in Node.js directly performs I/O, so the process never blocks except when the I/O is performed using synchronous methods of Node.js standard library. Because nothing blocks, scalable systems are very reasonable to develop in Node.js.
Installation Instructions
Linux
Linux
Download Release
{
"url": "{{ .SVar `.tool.nodejs.download.url` }}",
"destination_folder": "{{ .PDownloads }}",
"output_filename": "{{ .SVar `.tool.nodejs.download.filename` }}",
"overwrite": false
} Extract Release
{
"destination": "{{ .PTools }}/nodejs/{{ .SVar `.tool.nodejs.download.version` }}",
"skip_symlinks": true,
"preserve_permissions": true,
"remove_existing": true,
"source": "{{ .PDownloads }}/{{ .SVar `.tool.nodejs.download.filename` }}"
} Move files up one level to simplify directory structure
{
"source": "{{ .PTools }}/nodejs/{{ .SVar `.tool.nodejs.download.version` }}/node-v{{ .SVar `.tool.nodejs.download.version` }}-linux-x64",
"destination": "{{ .PTools }}/nodejs/{{ .SVar `.tool.nodejs.download.version` }}"
}
MacOS
MacOS
Download Release
{
"url": "{{ .SVar `.tool.nodejs.download.url` }}",
"destination_folder": "{{ .PDownloads }}",
"output_filename": "{{ .SVar `.tool.nodejs.download.filename` }}",
"overwrite": false
} Extract Release
{
"destination": "{{ .PTools }}/nodejs/{{ .SVar `.tool.nodejs.download.version` }}",
"skip_symlinks": true,
"preserve_permissions": true,
"remove_existing": true,
"source": "{{ .PDownloads }}/{{ .SVar `.tool.nodejs.download.filename` }}"
} Move files up one level to simplify directory structure
{
"source": "{{ .PTools }}/nodejs/{{ .SVar `.tool.nodejs.download.version` }}/node-v{{ .SVar `.tool.nodejs.download.version` }}-darwin-x64",
"destination": "{{ .PTools }}/nodejs/{{ .SVar `.tool.nodejs.download.version` }}"
} Binaries
- bin/corepack
- bin/node
- bin/npm
- bin/npx