Node.js - Installation et mise en route (Node.js, NPM et NPX)

26 Jan 2023 · 5 min
5:26

In this French instructional video, the presenter walks beginners through setting up a Node.js environment to run JavaScript outside the browser. He explains why a separate runtime is needed, shows how to download and install Node.js (choosing between the recommended and current versions), and verifies the installation by checking the versions of node, npm, and npx via the command line. The tutorial then demonstrates using the Node REPL to execute JavaScript interactively, including a simple console.log example, and explains the REPL’s undefined output. Next, he shows how to create a JavaScript file (test.js), exit the REPL, and run the file with the `node` command, highlighting the need to use Ctrl+C/D to leave the REPL. He notes that browser‑specific features like DOM access are unavailable in this environment. Throughout, he recommends using a terminal integrated in VS Code for convenience and provides download links in the description. The video concludes by encouraging viewers to become comfortable with JavaScript to follow future lessons.

Chapters

More from Yamossoun

8:56
youtube.com

Compteur synchrone - Logique séquentielle

2w ago
11:58
youtube.com

Compteur asynchrone et diviseur de fréquence - Logique séquentielle

3w ago
11:37
youtube.com

Les registres (parallèle et à décalage) - Logique séquentielle

1mo ago
6:14
youtube.com

Bascule T (Toggle) - Logique séquentielle

1mo ago
12:05
youtube.com

Bascule JK - Logique séquentielle

1mo ago
9:17
youtube.com

Bascule D flip-flop active sur front montant - Logique séquentielle

1mo ago
10:08
youtube.com

Bascule D Latch - Logique séquentielle

1mo ago
8:13
youtube.com

Bascule RS - Logique séquentielle

1mo ago
5:04
youtube.com

Logique séquentielle - Introduction

2mo ago
1:15
youtube.com

Le codeur - Logique combinatoire #codeur #logique #circuit #booleanlogic

2mo ago
1:56
youtube.com

Algorithme de calcule de la racine carrée par dichotomie #dichotomy #squareroot #algorithm

3mo ago
See all content