# @embedded-postgres/linux-arm64 中文文档

规范地址：https://npmcn.com/package/%40embedded-postgres/linux-arm64/

版本：18\.6\.0-beta\.19
npm 元数据更新时间：2026-10-30T17:55:19.635Z
中文译文更新时间：2026-11-13T14:40:04.201Z
软件包许可：MIT

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40embedded-postgres/linux-arm64
原文对照：https://npmcn.com/package/%40embedded-postgres/linux-arm64/?lang=original
项目主页：https://github.com/leinelissen/embedded-postgres#readme
源码仓库：https://github.com/leinelissen/embedded-postgres

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：59 MB，1029 个文件
- 模块格式：ES Module
- TypeScript 类型：未声明
- Node.js 要求：\>=16
- 运行依赖：0 个
- 首次发布：2022-06-08T16:31:47.859Z
- 最新版本发布：2026-10-30T17:55:19.465Z
- 近 30 天下载量：438108（2026-10-14 至 2026-11-12，npm 官方下载统计）
- 已发布版本数：179（近 12 个月 37 个）

## 中文简介

包含特定架构和操作系统的 Postgres 二进制包. 参见嵌入式后置包.

## 安装

```sh
npm install @embedded-postgres/linux-arm64
```

也可以使用：`pnpm add @embedded-postgres/linux-arm64`、`yarn add @embedded-postgres/linux-arm64`、`bun add @embedded-postgres/linux-arm64`

## README

![Embedded Postgres](https://github.com/leinelissen/embedded-postgres/raw/main/docs/images/embedded-postgres-header.svg)

![npm](https://img.shields.io/npm/v/@embedded-postgres/linux-arm64) ![npm type definitions](https://img.shields.io/npm/types/@embedded-postgres/linux-arm64) ![npm](https://img.shields.io/npm/dy/@embedded-postgres/linux-arm64) ![NPM](https://img.shields.io/npm/l/@embedded-postgres/linux-arm64) ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/leinelissen/embedded-postgres/test.yml)

### QQ 节点软件包, 程序化地生成 PostgresQL 集群 .

此软件包包含 `linux-arm64` 与该工具一起使用的后置二进制 `embedded-postgres` 软件包。 见 [嵌入式邮资](https://github.com/leinelissen/embedded-postgres) 为了更多 开发者友好的产卵方式PostgresQL集群.

## 安装

`embedded-postgres` 国家防范机制:

```sh
npm i embedded-postgres
```

  

## 只用二进制

如果您想要使用二进制, 您也可以使用此软件包 直接说 它将路径输出到 [`pg_ctl`](https://www.postgresql.org/docs/current/app-pg-ctl.html), (中文(简体) ), [`initdb`](https://www.postgresql.org/docs/current/app-initdb.html) 财务报告和审定财务报表 [`postgres`](https://www.postgresql.org/docs/current/app-postgres.html) 二进制 页:1 `linux-arm64`。 。 。 .

```sh
npm i @embedded-postgres/linux-arm64
```

跟踪文档以发现如何与二进制接口. 任何执行都将是这样的:

```ts
import { pg_ctl, initdb, postgres } from '@embedded-postgres/linux-arm64'
import { execSync, spawn } from 'child_process';

execSync(initdb);
spawn(postgres);
```

> \[大  
> 提供了使用这些二进制的更友好的包装 [嵌入式邮资](https://github.com/leinelissen/embedded-postgres) 软件包. 若被二分法所惑后请用.

## 信贷和许可证发放

嵌入式Postgres由莱·内利森为 [银行 工作室](https://bmd.studio/)它基于 [{\\fn黑体\\fs20\\shad2\\2ah82\\3ah20\\4ah33\\fscx95\\3ch592001\\be1}"songky's 嵌入式员额-二进制](https://github.com/zonkyio/embedded-postgres)编辑 根据Apache 许可证2.0提供二进制,而具体 本包中的代码由MIT许可提供.

[![BMD Studio](https://github.com/leinelissen/embedded-postgres/raw/main/docs/images/logo-bmd.svg)](https://bmd.studio/)

## 常见问题

### @embedded-postgres/linux-arm64 是什么？

包含特定架构和操作系统的 Postgres 二进制包\. 参见嵌入式后置包\.

### 如何安装 @embedded-postgres/linux-arm64？

在项目目录运行 npm install @embedded-postgres/linux-arm64，或使用 pnpm add / yarn add / bun add。

### @embedded-postgres/linux-arm64 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/embedded-postgres\_\_linux-arm64 是否存在。

### @embedded-postgres/linux-arm64 支持 ESM 还是 CommonJS？

以 ES Module 形式发布，推荐使用 import 引入。在 CommonJS 项目中，Node\.js 20\.19\+ / 22\.12\+ 可以直接 require\(\) 不含顶层 await 的 ES Module，更早的版本需要改用动态 import\(\)。

### @embedded-postgres/linux-arm64 需要什么版本的 Node\.js？

package\.json 的 engines 字段要求 Node\.js \>=16。版本不符时 npm 默认只给出警告，开启 engine-strict 后会拒绝安装。

### @embedded-postgres/linux-arm64 可以商用吗？

@embedded-postgres/linux-arm64 使用 MIT 许可。宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### @embedded-postgres/linux-arm64 的下载量有多少？

根据 npm 官方下载统计，@embedded-postgres/linux-arm64 在 2026/10/14 – 2026/11/12 这 30 天内被下载 438,108 次，日均约 14,604 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @embedded-postgres/linux-arm64 还在维护吗？

最新版本 18\.6\.0-beta\.19 发布于 2026/10/31（13 天前）；至今共发布 179 个版本，其中过去 12 个月发布了 37 个；首次发布于 2022/06/09。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

