tools
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDeveloper Tools
开发者工具
Overview
概述
These are the tools every developer needs regardless of language or framework — the bedrock of the development environment. Whether you are writing Python, C#, Rust, or JavaScript, you will reach for these tools daily: a shell to run commands, Git to track changes, a package manager to install software, and containers to ship reproducible environments. Mastering this foundational layer makes everything built on top of it faster and more reliable.
这些是无论使用何种语言或框架,每位开发者都需要的工具——是开发环境的基石。无论你编写Python、C#、Rust还是JavaScript,你每天都会用到这些工具:用于执行命令的Shell、用于跟踪变更的Git、用于安装软件的包管理器,以及用于交付可复现环境的容器。掌握这一基础层会让所有基于它的工作更快速、更可靠。
Tool Landscape
工具版图
┌─────────────────────────────────────────────────────────────┐
│ Developer Tools │
├─────────────────────────────────────────────────────────────┤
│ Shells: PowerShell Core, Bash/Zsh │
│ Version Control: Git │
│ Package Managers: choco, winget, brew, apt, snap │
│ Containers: Docker, Podman │
│ Remote Access: SSH, SCP │
│ HTTP Clients: curl, wget, HTTPie │
│ Data Processing: jq, yq │
│ Pattern Matching: Regular Expressions │
│ Build Runners: Make, Just, Task │
└─────────────────────────────────────────────────────────────┘┌─────────────────────────────────────────────────────────────┐
│ Developer Tools │
├─────────────────────────────────────────────────────────────┤
│ Shells: PowerShell Core, Bash/Zsh │
│ Version Control: Git │
│ Package Managers: choco, winget, brew, apt, snap │
│ Containers: Docker, Podman │
│ Remote Access: SSH, SCP │
│ HTTP Clients: curl, wget, HTTPie │
│ Data Processing: jq, yq │
│ Pattern Matching: Regular Expressions │
│ Build Runners: Make, Just, Task │
└─────────────────────────────────────────────────────────────┘Choosing the Right Sub-Skill
选择合适的子技能
| Need | Look In |
|---|---|
| Writing cross-platform shell scripts | |
| Writing Unix shell scripts, Bash/Zsh automation | |
| Version control, branching, merging, rebasing | |
| Installing system-level software and managing OS packages | |
| Containerizing applications, Docker Compose, Podman | |
| Remote server access, key management, tunneling | |
| Making HTTP requests from the command line | |
| Parsing and transforming JSON or YAML data | |
| Text pattern matching, search-and-replace with regex | |
| Running build tasks, command orchestration | |
| 需求 | 对应技能 |
|---|---|
| 编写跨平台Shell脚本 | |
| 编写Unix Shell脚本、Bash/Zsh自动化 | |
| 版本控制、分支、合并、变基 | |
| 安装系统级软件并管理操作系统包 | |
| 应用容器化、Docker Compose、Podman | |
| 远程服务器访问、密钥管理、隧道 | |
| 从命令行发起HTTP请求 | |
| 解析与转换JSON或YAML数据 | |
| 文本模式匹配、使用正则表达式进行查找替换 | |
| 运行构建任务、命令编排 | |
Platform Availability
平台可用性
| Tool | Windows | macOS | Linux |
|---|---|---|---|
| PowerShell Core (pwsh) | Yes (built-in on Win11, installable) | Yes (brew) | Yes (apt/dnf) |
| Bash | Yes (WSL, Git Bash) | Yes (built-in) | Yes (built-in) |
| Zsh | Yes (WSL) | Yes (default shell) | Yes (installable) |
| Git | Yes (winget/choco) | Yes (Xcode CLT / brew) | Yes (apt/dnf) |
| choco | Yes | No | No |
| winget | Yes (built-in on Win10+) | No | No |
| brew | No | Yes | Yes |
| apt | No | No | Yes (Debian/Ubuntu) |
| snap | No | No | Yes |
| Docker | Yes (Docker Desktop / WSL2) | Yes (Docker Desktop) | Yes (native) |
| Podman | Yes | Yes (brew) | Yes (native) |
| SSH / SCP | Yes (built-in on Win10+) | Yes (built-in) | Yes (built-in) |
| curl | Yes (built-in on Win10+) | Yes (built-in) | Yes (built-in) |
| wget | Yes (choco/winget) | Yes (brew) | Yes (built-in) |
| HTTPie | Yes (pip/choco) | Yes (brew) | Yes (apt/pip) |
| jq | Yes (choco/winget) | Yes (brew) | Yes (apt) |
| yq | Yes (choco/winget) | Yes (brew) | Yes (snap/apt) |
| Make | Yes (choco, WSL) | Yes (Xcode CLT) | Yes (built-in) |
| Just | Yes (cargo/choco) | Yes (brew/cargo) | Yes (cargo/apt) |
| Task (go-task) | Yes (choco/winget) | Yes (brew) | Yes (snap/apt) |
| 工具 | Windows | macOS | Linux |
|---|---|---|---|
| PowerShell Core (pwsh) | 是(Win11内置,可安装) | 是(通过brew) | 是(通过apt/dnf) |
| Bash | 是(WSL、Git Bash) | 是(内置) | 是(内置) |
| Zsh | 是(WSL) | 是(默认Shell) | 是(可安装) |
| Git | 是(通过winget/choco) | 是(Xcode命令行工具 / brew) | 是(通过apt/dnf) |
| choco | 是 | 否 | 否 |
| winget | 是(Win10+内置) | 否 | 否 |
| brew | 否 | 是 | 是 |
| apt | 否 | 否 | 是(Debian/Ubuntu) |
| snap | 否 | 否 | 是 |
| Docker | 是(Docker Desktop / WSL2) | 是(Docker Desktop) | 是(原生支持) |
| Podman | 是 | 是(通过brew) | 是(原生支持) |
| SSH / SCP | 是(Win10+内置) | 是(内置) | 是(内置) |
| curl | 是(Win10+内置) | 是(内置) | 是(内置) |
| wget | 是(通过choco/winget) | 是(通过brew) | 是(内置) |
| HTTPie | 是(通过pip/choco) | 是(通过brew) | 是(通过apt/pip) |
| jq | 是(通过choco/winget) | 是(通过brew) | 是(通过apt) |
| yq | 是(通过choco/winget) | 是(通过brew) | 是(通过snap/apt) |
| Make | 是(通过choco、WSL) | 是(Xcode命令行工具) | 是(内置) |
| Just | 是(通过cargo/choco) | 是(通过brew/cargo) | 是(通过cargo/apt) |
| Task (go-task) | 是(通过choco/winget) | 是(通过brew) | 是(通过snap/apt) |
Best Practices
最佳实践
- Automate your setup with dotfiles. Keep your shell configuration, Git config, and tool settings in a version-controlled dotfiles repository so you can bootstrap any new machine in minutes.
- Use cross-platform tools where possible. Prefer tools like PowerShell Core, Docker, and Git that work identically on Windows, macOS, and Linux to reduce friction when switching environments or collaborating across teams.
- Learn at least one shell deeply. Surface-level knowledge of many shells is less valuable than deep expertise in one. Pick PowerShell or Bash and master its scripting, pipeline, and debugging capabilities.
- Version control everything. Not just source code — configuration files, infrastructure definitions, documentation, and scripts all belong in Git.
- Use containers for reproducible environments. Docker and Podman eliminate "works on my machine" problems by packaging applications with their exact dependencies.
- Prefer declarative build runners. Tools like Make, Just, and Task let you define project commands (build, test, lint, deploy) in a single file, making onboarding and CI/CD consistent.
- 使用dotfiles自动化你的配置。将你的Shell配置、Git配置和工具设置保存在受版本控制的dotfiles仓库中,这样你可以在几分钟内完成新机器的初始化配置。
- 尽可能使用跨平台工具。优先选择PowerShell Core、Docker和Git这类在Windows、macOS和Linux上表现一致的工具,以减少切换环境或跨团队协作时的摩擦。
- 深入掌握至少一种Shell。对多种Shell的表层了解不如对一种Shell的深度精通。选择PowerShell或Bash,掌握其脚本编写、管道和调试功能。
- 对所有内容进行版本控制。不仅是源代码——配置文件、基础设施定义、文档和脚本都应该纳入Git管理。
- 使用容器实现可复现环境。Docker和Podman通过将应用与其精确依赖打包在一起,消除了“在我机器上能运行”的问题。
- 优先使用声明式构建运行器。Make、Just和Task这类工具允许你在单个文件中定义项目命令(构建、测试、代码检查、部署),使新成员入职和CI/CD流程保持一致。