Skip to content

Commit 202a10c

Browse files
authored
Update README.md about Bun
1 parent e885539 commit 202a10c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,24 @@ Official website: [https://pm2.keymetrics.io/](https://pm2.keymetrics.io/)
5555
Works on Linux (stable) & macOS (stable) & Windows (stable). All Node.js versions are supported starting Node.js 12.X and Bun since v1
5656

5757

58-
### Installing PM2
58+
## Installing PM2
5959

60-
With NPM:
60+
### With NPM
6161

6262
```bash
6363
$ npm install pm2 -g
6464
```
6565

66-
With Bun:
66+
### With Bun
6767

6868
```bash
6969
$ bun install pm2 -g
7070
```
71+
**Please note that you might need to symlink node to bun if you only want to use bun via `sudo ln -s /home/$USER/.bun/bin/bun /usr/bin/node`**
7172

72-
You can install Node.js easily with [NVM](https://github.com/nvm-sh/nvm#installing-and-updating) or [FNM](https://github.com/Schniz/fnm) and Bun with `curl -fsSL https://bun.sh/install | bash`
73+
___
74+
75+
You can install Node.js easily with [NVM](https://github.com/nvm-sh/nvm#installing-and-updating) or [FNM](https://github.com/Schniz/fnm) or install Bun with `curl -fsSL https://bun.sh/install | bash`
7376

7477
### Start an application
7578

0 commit comments

Comments
 (0)