@architect/architect

中文文档
12.0.1发布于 2026/09/05Apache-2.0CommonJS构建来源已验证近 30 天下载 1.3万

Create, deploy, and maintain next-generation AWS cloud function-based serverless infrastructure with full local, offline workflows, and more.

原始使用文档
文档目录8 节
  1. Requirements
  2. Installation
  3. Work locally
  4. Deploy to AWS
  5. Add Architect syntax to your text editor
  6. Learn more
  7. Founding team
  8. Special thanks

Architect Logo

GitHub CI status npm version Apache-2.0 License

Build ultra scalable database backed web apps on AWS serverless infrastructure with full local, offline workflows, and more. Full documentation found at: https://arc.codes

Requirements

Installation

Make sure you have at least Node.js version 18 installed.

Open your terminal to install arc:

npm i @architect/architect --save-dev

Check the version:

npx arc version

Protip: run arc with no arguments to get help

Work locally

Create a new app:

mkdir testapp
cd testapp
npx arc init

Kick up the local dev server:

npx arc sandbox

Cmd / Ctrl + c exits the sandbox

Deploy to AWS

Deploy the staging stack:

npx arc deploy

Protip: create additional staging stacks with --name

Ship to a production stack:

npx arc deploy --production

Add Architect syntax to your text editor

– VS Code

– Sublime Text

– Vim

Learn more

Head to https://arc.codes to learn more!


Founding team

Amber Costley, Angelina Fabbro, Brian LeRoux, Jen Fong-Adwent, Kristofer Joseph, Kris Borchers, Ryan Block, Spencer Kelley

Special thanks

Pinyao Guo for the Architect GitHub name

版本与发布记录

@architect/architect 共发布 463 个版本,首次发布于 2018/10/20;过去 12 个月发布了 5 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
12.0.1latest2026/09/052 个月前
12.0.02025/12/0211 个月前
12.0.0-RC.4RC2025/11/2811 个月前
12.0.0-RC.32025/11/2811 个月前
12.0.0-RC.12025/11/2611 个月前
11.3.1-RC.02025/09/261.1 年前

其他发布通道:LTS → 5.9.38,LTS-RC → 5.9.39-LTS-RC.2,RC → 12.0.0-RC.4。

关于 @architect/architect 的常见问题

@architect/architect 是什么?

Create, deploy, and maintain next-generation AWS cloud function-based serverless infrastructure with full local, offline workflows, and more.

如何安装 @architect/architect?

在项目目录运行 npm install @architect/architect,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 arc,可以用 npx arc 直接运行。

@architect/architect 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/architect__architect 是否存在。

@architect/architect 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@architect/architect 需要什么版本的 Node.js?

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

@architect/architect 可以商用吗?

@architect/architect 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@architect/architect 的下载量有多少?

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

@architect/architect 还在维护吗?

最新版本 12.0.1 发布于 2026/09/05(2 个月前);至今共发布 463 个版本,其中过去 12 个月发布了 5 个;首次发布于 2018/10/20。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。