Skip to content

Commit

Permalink
Update from-npm-install-to-bun-install.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Sep 22, 2024
1 parent c267d76 commit 797750e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/install/from-npm-install-to-bun-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 797750e

Please sign in to comment.