From 797750ef42a3ef9bb33530876ccfd7b2375b0176 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sun, 22 Sep 2024 00:27:47 -0700 Subject: [PATCH] Update from-npm-install-to-bun-install.md --- docs/guides/install/from-npm-install-to-bun-install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/install/from-npm-install-to-bun-install.md b/docs/guides/install/from-npm-install-to-bun-install.md index 9e59147943d55..cfcc38fd8869c 100644 --- a/docs/guides/install/from-npm-install-to-bun-install.md +++ b/docs/guides/install/from-npm-install-to-bun-install.md @@ -8,8 +8,8 @@ We've put a lot of work into making sure that the migration path from `npm insta - **Designed for Node.js & Bun**: `bun install` installs a Node.js compatible `node_modules` folder. You can use it in place of `npm install` for Node.js projects without any code changes and without using Bun's runtime. - **Automatically converts `package-lock.json`** to bun's `bun.lockb` lockfile format, preserving your existing resolved dependency versions without any manual work on your part. You can secretly use `bun install` in place of `npm install` at work without anyone noticing. -- bun install reads npm registry configuration from npm's `.npmrc` as well as Bun's bunfig.toml -- On Windows and Linux, `bun install` uses hardlinks to conserve disk space and install times +- **`.npmrc` compatible**: bun install reads npm registry configuration from npm's `.npmrc` as well as Bun's `bunfig.toml`, letting you use the same configuration for both npm and Bun. +- **Hardlinks**: On Windows and Linux, `bun install` uses hardlinks to conserve disk space and install times. ```bash # It only takes one command to migrate