# 使用 npm 安装 auth

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

## 安装

```sh
sudo av install npm:auth
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g auth
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:auth
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/auth>
- **版本:** 1.6.25
- **来源摘要:** The CLI for Better Auth
- **主页:** <https://www.better-auth.com/docs/concepts/cli>
- **仓库:** <https://github.com/better-auth/better-auth>
- **上游文档:** <https://www.better-auth.com/docs/concepts/cli>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/auth/-/auth-1.6.25.tgz>
- **发布时间:** 2026-07-23T15:48:13.058Z
- **最后更新:** 2026-07-23T15:48:13.058Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- auth (cli)
- better-auth (cli)
- auth (别名)

## 依赖

- @babel/core
- @babel/preset-react
- @babel/preset-typescript
- @better-auth/core
- @better-auth/telemetry
- @better-auth/utils
- @clack/prompts
- @mrleebo/prisma-ast
- better-auth
- c12
- chalk
- commander
- dotenv
- get-tsconfig
- open
- prettier
- prompts
- semver
- yocto-spinner
- zod

## 构建依赖

- @better-auth/passkey
- @types/better-sqlite3
- @types/prompts
- @types/semver
- better-sqlite3
- jiti
- memfs
- tsdown
- tsx
- type-fest
- typescript

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.6.25
- 管理器更新时间: 2026-07-23
- 本地数据: OK
- 上游仓库: https://github.com/better-auth/better-auth
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Beta: 1.7.0-beta.10, Latest: 1.6.25, Rc: 1.7.0-rc.3
- **Version Count:** 76
- **Maintainers:** bekacru
- **Publisher:** GitHub Actions
- **Integrity:** sha512-wyNvrDEQkcP4Lyo2GzYkngFstcswInItrqmJD3lz+Dkm5iceoNoBojfA+7xcEcsQDuFKsDU2Ho+VGllhs5a8lw==
- **Shasum:** 319ef96573a2cc0d0544bc9941e7716989db335f
- **Unpacked Size:** 277,911
- **File Count:** 0
- **Created At:** 2012-10-28T19:15:48.907Z
- **Latest Published At:** 2026-07-23T15:48:13.058Z
- **Modified At:** 2026-08-03T17:30:17.920Z


## 相关链接

- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched curated package taxonomy and local package facts.
- [better-npm-audit](https://pkg.so/zh-hans/npm/better-npm-audit/) - Security-sensitive metadata or terminology overlaps. Shared terms: better, cli, commander, get, security.
- [carrot-scan](https://pkg.so/zh-hans/npm/carrot-scan/) - Security-sensitive metadata or terminology overlaps. Shared terms: chalk, cli, commander, core, open.
- [pocket-id](https://pkg.so/zh-hans/brew/pocket-id/) - Security-sensitive metadata or terminology overlaps. Shared terms: authentication, cli, open, security.

## 来源

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