Repository navigation
0.4.0
EasyWork —— 一条命令,配置好你的开发环境
适用于 macOS / Linux / Windows 的开发环境一键配置工具(Go 单二进制,零运行时依赖)。Shell/PowerShell 环境、Git 身份与别名、Vim、gh、AI 工具即装即用。
🚀 快速开始
# macOS / Linux(含 Windows Git Bash)
curl -sL https://raw.githubusercontent.com/EasyIndie/EasyWork/0.4.0/bootstrap.sh | bash# Windows(PowerShell 原生)
irm https://raw.githubusercontent.com/EasyIndie/EasyWork/0.4.0/bootstrap.ps1 | iex# 配置开发环境
ew install --yes系统要求:macOS / Linux / Windows,已联网(Unix 需 curl;Windows 用系统自带 PowerShell)。
📖 使用指南
| 命令 | 说明 |
|---|---|
easywork install |
一键安装全部组件 |
easywork install <模块[/子组件]> |
只安装指定组件(如 git、ai/claude、glow) |
easywork uninstall |
卸载全部组件 |
easywork uninstall <模块> |
卸载指定组件 |
easywork config |
查看配置文件 |
easywork config edit |
编辑配置文件 |
easywork version |
查看版本和已安装组件 |
easywork update |
检查并升级到最新版本 |
easywork help |
显示帮助信息 |
全局选项: --dry-run 预览 · --yes / -y 跳过确认 · --verbose / -v 详细输出 · --json 机器可读 · --offline 禁止联网
模块: shell(Shell/PowerShell 环境)· git(身份 + 90+ 别名)· gh(GitHub CLI)· vim(IDE)· ai(claude/codex/pi,可细选)
可选 CLI 工具(默认不装): glow · herdr · mole
📋 变更记录
Changes since 0.3.0
- ci(windows): install-e2e 覆盖 Windows(bootstrap.ps1 端到端 + sha256 校验)+ 0.4.0 版本拆分 (c5d4ffc)
- docs(changelog): 0.3.0 记录 Bash 退役(移除项)与 make check/install-e2e 变更 (085178c)
- chore: .gitignore 收敛 EasyWork 本地文件(.easywork/ 整目录,含 run/ 与备份) (e0bfbc8)
- docs: 全面去 Bash 化(AGENTS/DESIGN/ACCEPTANCE/ROLLBACK/RETIREMENT/CONTRIBUTING + 契约规格) (b11043c)
- chore!: 退役 Bash 引擎(存档 tag legacy-bash-0.3.0,只保留 Go) (6991666)
- test(e2e): bootstrap 端到端(本地镜像 + sha256 + 篡改拦截)并接入 CI;迁入 4 条 e2e 断言到 conformance (86b1b3a)