How to install Node.js 20 on Windows 10/11 from zip archive

Publié le: 01 mai 2023
sur la chaîne: java frm
12,665
67

In this video we are going to see How to install Node.js 20.0.0 on Windows 10 from Zip archive file and run some sample programs.

You can download Node.js from

https://nodejs.org/en
https://nodejs.org/download/release/v...

Node JS program that prints the Operating System details and Machine Information.

IMPORTANT NOTE on SOURCE CODE: only source code that are acceptable by the youtube description box will be displayed.
#########################SOURCE CODE STARTS HERE##############################
var os = require('os');
console.log("Platform: " + os.platform());
console.log("Architecture: " + os.arch());
console.log("OS Type: " +os.type());
console.log("CPU Cores: ");
console.log(os.cpus());
console.log("Free Memory: " +os.freemem());
console.log("Uptime: " +os.uptime());
console.log("UserInfo: ");
console.log(os.userInfo());
console.log("Platform: " +os.platform());
console.log("OS Release version: " +os.release());
console.log("Total Memory: " +os.totalmem());
console.log("Network Interfaces: ");
console.log(os.networkInterfaces());
console.log("Endianness: " +os.endianness());
console.log("Load Average: " +os.loadavg());
console.log("Temp Directory: " +os.tmpdir());
#########################END OF SOURCE CODE##############################



Node JS program that sorts the array of numbers and print in ascending order and descending order.

#########################SOURCE CODE STARTS HERE##############################
const arr = [35,13,8,25,2,15,887,23,58,23,57,22,67];
arr.sort(function(a, b){return a-b});
console.log("Sorted array in Ascending Order");
console.log(arr);
console.log("Sorted array in Descending Order");
arr.sort(function(a, b){return b-a});
console.log(arr);
#########################END OF SOURCE CODE##############################


#nodejs #nodejstutorial #nodejs20 #nodejswindows #installnodejs


Sur cette page du site, vous pouvez voir la vidéo en ligne How to install Node.js 20 on Windows 10/11 from zip archive durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur java frm 01 mai 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 12,665 fois et il a aimé 67 téléspectateurs. Bon visionnage!