核心内容摘要
探寻国风韵味:国产“探花”的别样风情
macOSM4 / Apple Silicon手动安装 tree不用 brew / ports1️⃣ 安装编译工具只需一次xcode-select --install2️⃣ 拉取 tree 源码gitclone https://github.com/Old-Man-Programmer/tree.gitcdtree3️⃣ 编译make⚠️ 编译过程中会看到大量warning全部可以忽略不影响使用老 C 代码 新 clang4️⃣ 安装到系统路径sudocptree /usr/local/bin/usr/local/bin在 macOS 上默认在 PATH 中Apple Silicon 也没问题5️⃣ 验证tree --version示例输出类似tree v