# 使用 npm 安装 tern

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

## 安装

```sh
sudo av install npm:tern
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g tern
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:tern
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/tern>
- **版本:** 0.24.3
- **来源摘要:** A JavaScript code analyzer for deep, cross-editor language support
- **主页:** <https://github.com/ternjs/tern#readme>
- **仓库:** <https://github.com/ternjs/tern>
- **上游文档:** <https://github.com/ternjs/tern#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/tern/-/tern-0.24.3.tgz>
- **问题跟踪器:** <https://github.com/ternjs/tern/issues>
- **发布时间:** 2019-12-27T09:51:28.157Z
- **最后更新:** 2019-12-27T09:51:28.157Z
- **已生成:** 2026-07-09T07:20:21+00:00

## 可执行文件

- tern (cli)

## 依赖

- acorn
- acorn-loose
- acorn-walk
- enhanced-resolve
- glob
- minimatch
- resolve-from

## 构建依赖

- codemirror

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-09
- 管理器版本: 0.24.3
- 管理器更新时间: 2019-12-27
- 本地数据: OK
- 上游仓库: https://github.com/ternjs/tern
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.24.3
- **Version Count:** 31
- **Maintainers:** marijn, othree
- **Author:** Marijn Haverbeke
- **Publisher:** othree
- **Integrity:** sha512-Z8uvtdWIlFn1GWy0HW5FhZ8VDryZwoJUdnjZU25C7/PBOltLIn1uv+WF3rVq6S1761YbsmbZYRP/l0ZJBCkvrw==
- **Shasum:** da0d9118490c15af4b1c94553d5f0fafc77a0977
- **Unpacked Size:** 1,358,292
- **File Count:** 0
- **Created At:** 2013-05-03T09:59:33.337Z
- **Latest Published At:** 2019-12-27T09:51:28.157Z
- **Modified At:** 2023-05-07T10:57:13.152Z


## 相关链接

- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [dependency-cruiser](https://www.automicvault.com/zh-hans/pkg/npm/dependency-cruiser/) - Both packages touch the same language runtime or ecosystem. Shared terms: acorn, acorn-loose, acorn-walk, analysis, cli.
- [source-map-explorer](https://www.automicvault.com/zh-hans/pkg/npm/source-map-explorer/) - Local package facts share a topical domain. Shared terms: analysis, cli, code, code-analysis, developer.
- [webpack](https://www.automicvault.com/zh-hans/pkg/npm/webpack/) - Both packages touch the same language runtime or ecosystem. Shared terms: acorn, cli, developer, developer-tools, enhanced.
- [tern](https://www.automicvault.com/zh-hans/pkg/brew/tern/) - Same normalized package name exists in another local package ecosystem.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
