# 使用 npm 安装 braintrust

查看 braintrust 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:braintrust
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g braintrust
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:braintrust
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/braintrust>
- **版本:** 3.26.0
- **来源摘要:** SDK for integrating Braintrust
- **主页:** <https://www.braintrust.dev/docs>
- **仓库:** <https://github.com/braintrustdata/braintrust-sdk-javascript>
- **上游文档:** <https://www.braintrust.dev/docs>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/braintrust/-/braintrust-3.26.0.tgz>
- **问题跟踪器:** <https://github.com/braintrustdata/braintrust-sdk-javascript/issues>
- **发布时间:** 2026-08-01T12:54:53.875Z
- **最后更新:** 2026-08-01T12:54:53.875Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- braintrust (cli)
- bt (cli)
- braintrust (别名)

## 依赖

- @next/env
- @vercel/functions
- acorn
- acorn-import-attributes
- ajv
- argparse
- astring
- cjs-module-lexer
- cli-progress
- cli-table3
- cors
- dotenv
- esbuild
- esquery
- eventsource-parser
- express
- http-errors
- meriyah
- minimatch
- module-details-from-path
- mustache
- pluralize
- semifies
- simple-git
- source-map
- termi-link
- unplugin
- uuid
- zod-to-json-schema

## 构建依赖

- @anthropic-ai/sdk
- @nodelib/fs.walk
- @types/argparse
- @types/async
- @types/cli-progress
- @types/cors
- @types/esquery
- @types/express
- @types/http-errors
- @types/mustache
- @types/node
- @types/pluralize
- @types/tar
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- ai
- async
- cross-env
- eslint-plugin-es-x
- eslint-plugin-n
- eslint-plugin-node-import
- openai
- rollup
- tar
- tinybench
- ts-declaration-location
- tsup
- tsx
- typedoc
- typedoc-plugin-markdown
- typescript
- vite
- vite-tsconfig-paths
- vitest
- webpack
- zod

## 安装行为

- post-install 钩子: 已定义
- npm 生命周期脚本: postinstall
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.26.0
- 管理器更新时间: 2026-08-01
- 本地数据: OK
- 上游仓库: https://github.com/braintrustdata/braintrust-sdk-javascript
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 braintrust 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Alpha: 0.4.4-alpha.1, Beta: 0.4.7, Canary: 3.4.0-canary.20260319.54.g4c1af9e, Dev: 0.0.141-dev1, Latest: 3.26.0, Next: 2.2.1-rc.0, Rc: 3.3.0-rc.45
- **Version Count:** 296
- **Maintainers:** clutchski, braintrust
- **Publisher:** GitHub Actions
- **Peer Dependencies:** zod
- **Optional Dependencies:** @braintrust/bt-darwin-arm64, @braintrust/bt-darwin-x64, @braintrust/bt-linux-arm64, @braintrust/bt-linux-x64, @braintrust/bt-linux-x64-musl, @braintrust/bt-win32-arm64, @braintrust/bt-win32-x64
- **Integrity:** sha512-MlUIdtCuIaJRTN8rzk2/bEeFSYBVXE+D9lsmCuWSZlDGy9ar+LV/uWjlgFdIYhK0tINSXM3Yel4r/A14Jd6Nsw==
- **Shasum:** 59bb6fd23796eebccaa99001eb8b56fe81402fa8
- **Unpacked Size:** 29,935,031
- **File Count:** 0
- **Created At:** 2023-07-09T00:02:27.768Z
- **Latest Published At:** 2026-08-01T12:54:53.875Z
- **Modified At:** 2026-08-01T12:54:54.212Z

## 其他软件包管理器记录

- Scoop - extras/bt: installed executable or alias match | Scoop official bucket manifest trees: bucket/bt.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - QwerProg.bt: installed executable or alias match | Windows Package Manager source index: QwerProg.bt from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [AI and agent packages](https://pkg.so/zh-hans/ai-agent-tools/) - Matched curated package taxonomy and local package facts.
- [axiom](https://pkg.so/zh-hans/npm/axiom/) - Local package facts share a topical domain. Shared terms: ai, cli, env, evals, http.
- [vitest-evals](https://pkg.so/zh-hans/npm/vitest-evals/) - Local package facts share a topical domain. Shared terms: ai, ai-evals, cli, evals, learning.
- [djl-serving](https://pkg.so/zh-hans/brew/djl-serving/) - Local package facts share a topical domain. Shared terms: ai, cli, http, learning, machine.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
