温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/package-manager
点击访问原文链接

bun install — A superfast Node.js-compatible package manager

bun install — A superfast Node.js-compatible package managerBuildDocsReferenceGuidesBlogDiscordBun v1.3.10New native REPL, --compile --target=browser for self-contained HTML, TC39 standard ES decorators, Windows ARM64 support, barrel import optimizat...Bun v1.3.9Run multiple scripts in --parallel or --sequential. bun:test mock & spyOn get Symbol.dispose support. ESM bytecode compilation. Faster Bun.markd...Bun v1.3.8Bun.markdown is a builtin CommonMark-compliant Markdown parser written in Zig. Bun's bundler gets bun build --metafile-md to write LLM-friendly ...Bun v1.3.750% faster `Buffer.from(array)`, 35% faster async/await, 3x faster `array.flat()`, 90% faster `padStart`/`padEnd` via JSC upgrade. New: `Bun.JSO...Bun v1.3.6Bun.Archive API for creating & extracting tarballs with gzip compression, Bun.JSONC for parsing JSON with comments, metafile & files options in ...Bun v1.3.5Bun.Terminal API, compile-time feature flags, improved Bun.stringWidth accuracy, V8 C++ value type checking APIs, Content-Disposition support fo...BuildDocsReferenceGuidesBlogDiscordbun install

Superfast Node.js-compatible package manager. Drop into any JavaScript project with a package.json to instantly speed up your development workflow.

Install Buncurl -fsSL https://bun.sh/install | bash

Supported on macOS, Linux, and Windows

Bun

pnpm

npm

Yarn

Installing dependencies from cache for a Remix app.
View benchmark

bun installCompatibility with Node.js or Bun.

Bun's package manager is intended for use as a standalone tool, regardless of whether you're using the Bun runtime. It'll work in any project with a package.json, and it supports workspaces, git/http/tarball dependencies, custom registries, and more.

Support for workspaces.

Workspaces are supported out of the box. Bun reads the workspaces key from your package.json and installs all of your workspace packages in a single pass.

A global install cache.

When you install a package, Bun downloads it into a global package cache. On all future installs, Bun will check the cache first to avoid unnecessary re-downloading.

Optimized file writes.

When writing files from the cache into node_modules, Bun uses the fastest system calls available on your operating system. This is dramatically faster than naively symlinking from a global cache like pnpm.

A familiar API.

Bun's API will look familiar to any users of npm, pnpm, or yarn. Install all dependencies for a big project. Add or remove a production, dev, or peer dependency. Specify versions, version ranges, or tags.

Security by default.

Bun doesn't run postinstall scripts willy nilly. A set of popular packages are automatically pre-verified; other packages can be allow-listed using the trustedDependencies field in your package.json.

curl -fsSL https://bun.sh/install | bashRead the docs

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco

We're hiring →

智能索引记录