NodeJS: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Examples == * [https://github.com/solderjs/nodejs-ssl-example solderjs / nodejs-ssl-example]") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Installing == | |||
=== Using Snap === | |||
snap install node --classic | |||
* [https://snapcraft.io/node Node on Snapcraft] | |||
* [https://nodejs.org/en/download/package-manager/#snap Installing Node.js via package manager] | |||
If at some later point you want to upgrade node.js, check the available channels first: | |||
snap info node | |||
Then use for example | |||
snap refresh node --channel 16/stable | |||
npm (node package manager) can be upgraded with this command: | |||
npm install -g npm | |||
== Documentation == | |||
=== HTTPS === | |||
* [https://nodejs.org/api/https.html HTTPS @ Node.js Documentation] | |||
== Examples == | == Examples == | ||
* [https://github.com/solderjs/nodejs-ssl-example solderjs / nodejs-ssl-example] | === HTTPS === | ||
* [https://github.com/solderjs/nodejs-ssl-example solderjs / nodejs-ssl-example @ GitHub] | |||
* [https://stackoverflow.com/questions/5998694/how-to-create-an-https-server-in-node-js How to create an HTTPS server in Node.js? @ stackoverflow] | |||
[[Category:Linux]] |
Latest revision as of 08:07, 6 January 2022
Installing
Using Snap
snap install node --classic
If at some later point you want to upgrade node.js, check the available channels first:
snap info node
Then use for example
snap refresh node --channel 16/stable
npm (node package manager) can be upgraded with this command:
npm install -g npm