# 使用 npm 安装 native-machine-id

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

## 安装

```sh
sudo av install npm:native-machine-id
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g native-machine-id
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:native-machine-id
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/native-machine-id>
- **版本:** 0.3.11
- **来源摘要:** Native retrieval of a unique desktop machine ID without admin privileges or child processes. Faster and more reliable alternative to node-machine-id.
- **主页:** <https://github.com/mongodb-js/devtools-shared>
- **仓库:** <https://github.com/mongodb-js/devtools-shared>
- **上游文档:** <https://github.com/mongodb-js/devtools-shared>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/native-machine-id/-/native-machine-id-0.3.11.tgz>
- **问题跟踪器:** <https://jira.mongodb.org/projects/COMPASS/issues>
- **发布时间:** 2026-05-03T16:53:23.332Z
- **最后更新:** 2026-05-03T16:53:23.332Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- native-machine-id (cli)
- native-machine-id (别名)

## 依赖

- node-addon-api

## 构建依赖

- @mongodb-js/eslint-config-devtools
- @mongodb-js/mocha-config-devtools
- @mongodb-js/prettier-config-devtools
- @mongodb-js/tsconfig-devtools
- @types/mocha
- @types/node
- @types/sinon-chai
- depcheck
- eslint
- gen-esm-wrapper
- mocha
- node-machine-id
- prettier
- ts-node
- typescript

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.3.11
- 管理器更新时间: 2026-05-03
- 本地数据: OK
- 上游仓库: https://github.com/mongodb-js/devtools-shared
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.3.11
- **Version Count:** 31
- **Maintainers:** gagik.am, devtoolsbot, nirinchev
- **Author:** Compass Team
- **Publisher:** devtoolsbot
- **Integrity:** sha512-fc0EoHgkjFGTEXjL4RyR7OXcwxLJycK2GLX4QFk0XNaH0DO1h4MZFMTfwDYXUaeFDMC727N3Nv6gE55+jj6HOQ==
- **Shasum:** e14cb36ef0fa1d348f155d6eea533bb42bbed197
- **Unpacked Size:** 27,607
- **File Count:** 0
- **Created At:** 2025-04-16T07:50:19.685Z
- **Latest Published At:** 2026-05-03T16:53:23.332Z
- **Modified At:** 2026-05-03T16:53:23.760Z


## 相关链接

- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched curated package taxonomy and local package facts.
- [gitnexus](https://www.automicvault.com/zh-hans/pkg/npm/gitnexus/) - Both packages touch the same language runtime or ecosystem. Shared terms: addon, api, node, node-addon-api, or.
- [lzma-native](https://www.automicvault.com/zh-hans/pkg/npm/lzma-native/) - Both packages touch the same language runtime or ecosystem. Shared terms: addon, api, native, node, node-addon-api.
- [node-hid](https://www.automicvault.com/zh-hans/pkg/npm/node-hid/) - Both packages touch the same language runtime or ecosystem. Shared terms: addon, api, device, node, node-addon-api.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
