Our great sponsors
-
RunJS
RunJS is a JavaScript playground for macOS, Windows and Linux. Write code with instant feedback and access to Node.js and browser APIs.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
OK, I see. My machine has node v12.22.9 installed, probably since I installed it from apt. I downloaded 18.12.1 from the site above, but alas, I do not know how to install it. I'll have to read the docs it seems. It will be helpful to learn as I've tried to install runjs on my Ubuntu laptop, but I can't figure how as it seems I have to install it from binaries also (which I have no idea how to).
On nodejs.org click other downloads and choose Linux Binaries (x64).
Install nvm: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash