Skip to content

Commit 817eb9d

Browse files
authored
Improve command examples
Added instructions for using bun and yarn 2 with update-browserslist-db.
1 parent a19edf6 commit 817eb9d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,21 @@ from `caniuse-lite`.
1212
```sh
1313
npx update-browserslist-db@latest
1414
```
15+
1516
Or if using `pnpm`:
17+
1618
```sh
1719
pnpm exec update-browserslist-db latest
1820
```
19-
Or if using `yarn`:
21+
22+
Or if using `bun`:
23+
24+
```sh
25+
bunx update-browserslist-db@latest
26+
```
27+
28+
Or if using `yarn` 2+:
29+
2030
```sh
2131
yarn dlx update-browserslist-db@latest
2232
```

0 commit comments

Comments
 (0)