diff options
-rw-r--r-- | docs/installation.md | 12 | ||||
-rw-r--r-- | src/cli/install.sh | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/installation.md b/docs/installation.md index 06ca2b34d..9fce0b511 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -3,17 +3,17 @@ Bun ships as a single executable that can be installed a few different ways. {% callout %} **Windows users** — Bun does not currently provide a native Windows build. We're working on this; progress can be tracked at [this issue](https://github.com/oven-sh/bun/issues/43). In the meantime, use one of the installation methods below for Windows Subsystem for Linux. -**Linux users** — Kernel version 5.6 or higher is strongly recommended, but the minimum is 5.1. +**Linux users** — The `unzip` package is required to install Bun. Kernel version 5.6 or higher is strongly recommended, but the minimum is 5.1. {% /callout %} {% codetabs %} -```bash#Native -$ curl -fsSL https://bun.sh/install | bash # for macOS, Linux, and WSL +```bash#NPM +$ npm install -g bun # the last `npm` command you'll ever need ``` -```bash#npm -$ npm install -g bun # the last `npm` command you'll ever need +```bash#Native +$ curl -fsSL https://bun.sh/install | bash # for macOS, Linux, and WSL ``` ```bash#Homebrew @@ -26,7 +26,7 @@ $ docker pull oven/bun $ docker run --rm --init --ulimit memlock=-1:-1 oven/bun ``` -```bash#proto +```bash#Proto $ proto install bun ``` diff --git a/src/cli/install.sh b/src/cli/install.sh index ffb70b6cb..782e8592e 100644 --- a/src/cli/install.sh +++ b/src/cli/install.sh @@ -50,7 +50,7 @@ success() { } command -v unzip >/dev/null || - error 'unzip is required to install bun (see: https://bun.sh/docs/installation)' + error 'unzip is required to install bun' if [[ $# -gt 2 ]]; then error 'Too many arguments, only 2 are allowed. The first can be a specific tag of bun to install. (e.g. "bun-v0.1.4") The second can be a build variant of bun to install. (e.g. "debug-info")' |