mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Update README.md
This commit is contained in:
15
README.md
15
README.md
@@ -93,6 +93,21 @@ bun remove react
|
||||
bun add preact
|
||||
```
|
||||
|
||||
<detail>
|
||||
|
||||
<summary>**For Linux users**: `bun install` needs Linux Kernel 5.6</summary> or higher to work well. The minimum is 5.1. If you're on Linux kernel 5.1 - 5.5, `bun install` should still work, but HTTP requests will be slow due to lack of support for io_uring's `connect()` operation.
|
||||
|
||||
If you're using Ubuntu 20.04, here's how to install a [newer kernel](https://wiki.ubuntu.com/Kernel/LTSEnablementStack):
|
||||
|
||||
```bash
|
||||
# If this returns a version >= 5.6, you don't need to do anything
|
||||
uname -r
|
||||
|
||||
sudo apt install --install-recommends linux-generic-hwe-20.04
|
||||
```
|
||||
|
||||
</detail>
|
||||
|
||||
## Using bun as a task runner
|
||||
|
||||
Instead of waiting 170ms for your npm client to start for each task, you wait 6ms for bun.
|
||||
|
||||
Reference in New Issue
Block a user