Skip to content

Commit bccc9f9

Browse files
authored
chore(guide): update required Node.js for whatsapp-web.js (#53)
1 parent 11bb099 commit bccc9f9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/guide/installation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ description: Installation guide for node.js and whatsapp-web.js
66

77
# {{ $frontmatter.title }}
88

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.
1010

1111
::: 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.
1313

1414
::: 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).
1616
:::
1717

1818
## Installing Node.js
@@ -21,15 +21,15 @@ If you already have Node installed, but you are using an older version that is b
2121

2222
Installing Node on Windows works just like any other program.
2323

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.
2525
2. After the download is complete, open the downloaded file and follow the installer steps.
2626
3. Once the installation is complete, you can use Node.js and npm in your terminal.
2727

2828
### Installation on macOS
2929

3030
Installing Node on macOS is as easy as with installing Node on Windows.
3131

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.
3333
2. After the download is complete, open the downloaded file and follow the installer steps.
3434
3. Once the installation is complete, you can use Node.js and npm in your terminal.
3535

@@ -94,7 +94,7 @@ Navigate to the location of your choice on your machine and create a new folder
9494
If you use [Visual Studio Code](https://code.visualstudio.com/), you can press <code>Ctrl + `</code> to open its integrated terminal.
9595
:::
9696

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.
9898

9999
#### Initialize your project
100100

@@ -198,4 +198,4 @@ pnpm add whatsapp-web.js
198198
</CodeGroupItem>
199199
</CodeGroup>
200200

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

Comments
 (0)