You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/guide/installation.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ description: Installation guide for node.js and whatsapp-web.js
6
6
7
7
# {{ $frontmatter.title }}
8
8
9
-
Before getting started with whatsapp-web.js, it's essential for you to install [Node.js](#installing-node-js) and [whatsapp-web.js](#installing-whatsapp-web-js) itself on your machine. Please note that whatsapp-web.js v1 requires Node v12 or higher.
9
+
Before getting started with whatsapp-web.js, it's essential for you to install [Node.js](#installing-node-js) and [whatsapp-web.js](#installing-whatsapp-web-js) itself on your machine. Please note that whatsapp-web.js v1 requires Node v18 or higher.
10
10
11
11
::: tip
12
-
To check if you already have Node installed on your machine, run `node -v` in your **terminal**. If the output is `v12` or higher, then you're good to go! Otherwise you should continue reading.
12
+
To check if you already have Node installed on your machine, run `node -v` in your **terminal**. If the output is `v18` or higher, then you're good to go! Otherwise you should continue reading.
13
13
14
14
::: warning
15
-
If you already have Node installed, but you are using an older version that is below v12, you need to upgrade your Node version too. You can do this by installing the [nvm](https://github.com/nvm-sh/nvm#installing-and-updating).
15
+
If you already have Node installed, but you are using an older version that is below v18, you need to upgrade your Node version too. You can do this by installing the [nvm](https://github.com/nvm-sh/nvm#installing-and-updating).
16
16
:::
17
17
18
18
## Installing Node.js
@@ -21,15 +21,15 @@ If you already have Node installed, but you are using an older version that is b
21
21
22
22
Installing Node on Windows works just like any other program.
23
23
24
-
1. Download any [version above 12+](https://nodejs.org/) from the official Node.js website.
24
+
1. Download any [version above 18+](https://nodejs.org/) from the official Node.js website.
25
25
2. After the download is complete, open the downloaded file and follow the installer steps.
26
26
3. Once the installation is complete, you can use Node.js and npm in your terminal.
27
27
28
28
### Installation on macOS
29
29
30
30
Installing Node on macOS is as easy as with installing Node on Windows.
31
31
32
-
1. Download any [version above 12+](https://nodejs.org/) from the official Node.js website.
32
+
1. Download any [version above 18+](https://nodejs.org/) from the official Node.js website.
33
33
2. After the download is complete, open the downloaded file and follow the installer steps.
34
34
3. Once the installation is complete, you can use Node.js and npm in your terminal.
35
35
@@ -94,7 +94,7 @@ Navigate to the location of your choice on your machine and create a new folder
94
94
If you use [Visual Studio Code](https://code.visualstudio.com/), you can press <code>Ctrl + `</code> to open its integrated terminal.
95
95
:::
96
96
97
-
With the terminal open, run the `node -v` command to ensure that you've successfully installed Node.js. If it outputs `v12` or higher, you're all set! If not, you should consider reinstalling Node.js and following the installation steps again.
97
+
With the terminal open, run the `node -v` command to ensure that you've successfully installed Node.js. If it outputs `v18` or higher, you're all set! If not, you should consider reinstalling Node.js and following the installation steps again.
98
98
99
99
#### Initialize your project
100
100
@@ -198,4 +198,4 @@ pnpm add whatsapp-web.js
198
198
</CodeGroupItem>
199
199
</CodeGroup>
200
200
201
-
In your console, the downloading progress will now be displayed. Once the download is completed, you'll be ready to start with your project.
201
+
In your console, the downloading progress will now be displayed. Once the download is completed, you'll be ready to start with your project.
0 commit comments