Skip to main content

ChatUp

ChatUp 是 ChatArch 的独立环境与工具安装 CLI。它承接原来 chattool setup 的职责,把常用开发环境、Agent CLI、工作区脚手架和本地服务安装整理成一级命令,例如 chattool setup workspace 对应 chatup workspace。

按场景选择文档:

场景 文档
从空机器验证 ChatUp、Python runtime 和 workspace docs/quickstart.md
阅读完整顶层 CLI 树和独立 CFT/ChromeDriver/Playwright contract docs/cli-tree.md
查看命令分组、参数边界和服务默认路径 docs/commands.md
校对哪些 ChatArch setup 流程已经有一等命令 docs/capability-map.md
理解 chatup workspace 创建的目录和项目记录约定 docs/workspace.md
安装 ChatTea-compatible Gitea、Discourse/Zulip 社区服务配置、ChatData-compatible MySQL、user-level NGINX 和 CRS docs/commands.md

快速开始

chatup --help
chatup --version
chatup --tree
chatup --tree-brief
chatup doctor
chatup uv
chatup chrome-for-testing install --channel stable -I
chatup playwright install 1.61.1 -I
chatup workspace ~/Playground

chatup uv 默认更新已有 ~/.bashrc、~/.zshrc 的自动激活块;使用 chatup uv --no-activate 可保持启动配置不变。不会创建缺失的 rc 文件,Windows 跳过此项。

常见安装命令:

chatup gitea --force
chatup glance --dry-run
chatup glance
chatup discourse -e discourse-prod --hostname discourse.public.wzhecnu.cn
chatup zulip -e zulip-prod --external-host zulip.public.wzhecnu.cn --port 3095
chatup mysql
chatup nginx
chatup nginx proxy-pass ./gitea-local.conf --set SERVER_NAME=gitea.local.example.invalid --set PROXY_PASS=http://127.0.0.1:3000
chatup crs --install-dir ~/.chatarch/crs/local --port 12392 --redis-port 6379

macOS 常用应用

chatup macos                       # 勾选安装,Apple Silicon 默认全选四项
chatup macos --app snipaste         # 只安装 Snipaste
chatup macos --app blender          # 安装 Blender 5.2.2 LTS(Apple Silicon)
chatup macos -I                    # 不询问,安装当前机器支持的全部选项
chatup macos --dry-run             # 只预览安装计划

仅限 macOS。Apple Silicon 默认勾选 Snipaste、iTerm2、Chrome、Blender;Intel 保持前三项。终端中用空格切换勾选,回车安装;取消全部勾选则直接退出。可重复传入 --app snipaste|iterm|chrome|blender 选择多个应用。直接使用官方安装包,无需 Homebrew,已有应用验证后复用。详见macOS 安装入口。

Remotion 视频项目

chatup remotion ./my-video --dry-run -I
chatup remotion ./my-video -I
cd my-video
npm run studio

需要已有 Node.js >=18.12 和 npm >=9。创建带锁文件的 Remotion 4.0.530 项目,检测本机 Chrome 并输出渲染命令;不覆盖已有无关目录,也不替换 Node 或下载浏览器。项目放在指定目录,已有 Blender/Chrome 可通过 chatup macos --app blender --app chrome 验证或安装。详见Remotion 安装约定。

Chrome、Snipaste 与 iTerm2

chatup chrome --dry-run
chatup chrome             # 按系统安装普通 Google Chrome
chatup snipaste           # 在 macOS 或 Windows 安装 Snipaste
chatup iterm              # 安装 iTerm2,仅限 macOS
chatup chrome --sudo --yes # Linux:允许提权并确认包安装

macOS 直接下载官方 DMG/ZIP 并校验开发者签名,无需 Homebrew;默认装到 /Applications,不可写时使用 ~/Applications。Windows 使用 WinGet 精确包 Google.Chrome.EXE(当前用户安装)和 liule.Snipaste,需以 --yes 接受首次协议,Chrome 还会验证已安装程序的 Google 签名、产品身份和版本;Linux x86_64 支持 Chrome 的官方 DEB/RPM 与 apt/dnf/yum/zypper。已安装时验证并复用,不改默认浏览器、终端或用户配置。自动化浏览器仍使用 chatup chrome-for-testing。详见安装约定。

ChatGPT / Codex 桌面应用

chatup chatgpt --dry-run
chatup chatgpt
chatup chatgpt --yes  # Windows 首次安装时接受 Store 协议

安装包含 Codex 的新版官方 ChatGPT 桌面应用。macOS 需要 Homebrew,Windows 需要 WinGet;Linux preview 暂按官方说明手动安装。现有 chatup codex 仍安装/配置 Codex CLI。不会自动启动、登录或升级已有应用;完整约定。

chatup codex、chatup hermes 未配置模型时默认使用 gpt-5.6-terra;用户指定的模型和已有配置仍优先。

当前能力

能力组 命令
基础运行环境 doctor、uv、nodejs、docker、zsh、chrome-for-testing、chromedriver、playwright、frp
工作区脚手架 workspace
桌面应用 macos(Snipaste/iTerm2/Chrome/Blender 多选)、chrome、snipaste(macOS/Windows)、iterm(仅 macOS)、chatgpt(含 Codex)
视频项目 remotion
本地服务安装 gitea、glance、discourse、zulip、mysql、nginx、crs

chatup glance 裸命令安装 ChatArch/glance 最新稳定维护版到有效 ChatArch home 下的 glance。当前仅支持 Linux amd64;严格验证归档、SHA256SUMS、BUILDINFO.txt、source SHA 和原始二进制版本,复用 ChatGlance portable API 初始化 loopback 配置。它不启动服务、不建立公网入口、不写密码;重复运行保留配置和数据,版本变更请使用 chatglance runtime update。 | Agent 工具链 | cc-connect、claude、codex、cursor-agent、opencode、hermes、lark-cli |

桌面应用使用系统原生应用目录;ChatArch 自管安装项默认目录收敛到 ~/.chatarch/...,例如 ~/.chatarch/chrome-for-testing、~/.chatarch/chromedriver、~/.chatarch/playwright、~/.chatarch/chattea、~/.chatarch/discourse、~/.chatarch/zulip、~/.chatarch/chatdata、~/.chatarch/nginx 和 ~/.chatarch/crs/local。cursor-agent 额外注册 ChatEnv CursorAgent profile,discourse/zulip 注册管理员凭据 profile,并支持 -e/--env 从 env 文件或 profile 快速配置;显式选择 profile 时不会混入进程环境中的其他账号凭据。CLI 树由 ChatStyle 的注册表渲染。更完整的能力边界见 docs/capability-map.md。

开发

python -m pytest -q
python -m build
python -m twine check dist/*
mkdocs build --strict
chatup --version
chatup --tree
chatup --tree-brief

更多使用说明见文档站的 快速开始、命令参考 和 CLI 能力地图。

发布

发布由 tag 驱动。vX.Y.Z tag 必须与 src/chatup/__init__.py::__version__ 一致;发布 workflow 会通过 PyPI Trusted Publishing/OIDC 构建并发布到 PyPI。

Metadata

Release files for chatup 0.2.23

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chatup 0.2.23
File Size Uploaded
chatup-0.2.23.tar.gz 270.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chatup 0.2.23
File Interpreter ABI Platform
chatup-0.2.23-py3-none-any.whl Python 3 none any Details

Total release size: 538.4 kB

Release files / chatup-0.2.23.tar.gz

Download URL chatup-0.2.23.tar.gz
Size 270.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4e26537f607aac0759576add8699c1cde2ddc8d85c2c54fb83e14cbd618d65da
BLAKE2b-256 checksum
How to use checksums
87b9b11e06157d0cc0f3e31ee0c570be94d13109d99d0fbc33e6fca1918dafde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / chatup-0.2.23-py3-none-any.whl

Download URL chatup-0.2.23-py3-none-any.whl
Size 267.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e704532f2efa02c43b0458932db8de4b11e957bbd4017ce2a3e6686635643baf
BLAKE2b-256 checksum
How to use checksums
728c7d900ce2e644825e021e6e8e89e6de885111ba95b539df8ed21c885da76a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.23 This release

2 release files

0.2.21

2 release files

0.2.20

2 release files

0.2.19

2 release files

0.2.18

2 release files

0.2.17

2 release files

0.2.16

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page