From ef183636fcafef7fe532857f94b289e76583a94e Mon Sep 17 00:00:00 2001 From: Zhang Jiahao Date: Tue, 21 Apr 2026 00:34:05 +0800 Subject: [PATCH] Add apt to package manager list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Linux 环境的系统级依赖安装默认走 apt,明确写出避免在 Ubuntu 上 误用其他发行版的包管理器(yum/dnf/pacman)。 --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 1de194a..126bf64 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -16,7 +16,7 @@ Behavioral guidelines to reduce common LLM coding mistakes. Merge with project-s - ⚠️ Confirm first: rename repo, change visibility, add/remove collaborators, delete branches, change default branch - ❌ Require explicit command every time: delete repo, force-push to `main`/`master`, rewrite published history, change org permissions - Prefer a scoped API token over username/password when one becomes available -- **Package managers**: `pnpm` (Node), `uv` (Python), `cargo` (Rust) +- **Package managers**: `pnpm` (Node), `uv` (Python), `cargo` (Rust), `apt` (Linux) - **Web stack**: prefer TypeScript over JavaScript (frontend frameworks, Node backends, scripts); follow the existing project's language choice - **Indentation**: 4 spaces by default; follow project convention if different