From 76424950e373d3b04ac3dd13019151bfba3e8423 Mon Sep 17 00:00:00 2001 From: sumuel Date: Mon, 17 Aug 2026 20:44:55 +0000 Subject: Add the files --- README-cn.md | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 README-cn.md (limited to 'README-cn.md') diff --git a/README-cn.md b/README-cn.md new file mode 100644 index 0000000..ac2e075 --- /dev/null +++ b/README-cn.md @@ -0,0 +1,75 @@ +# Fastfetch + +Fastfetch 是一款类似 neofetch 的系统信息展示工具,主要用 C 编写,强调性能和可定制性。支持 Linux、macOS、Windows 7+、Android、FreeBSD、OpenBSD、NetBSD、DragonFly、Haiku、SunOS。 + +示例配置见 presets/examples,更多截图与平台说明见 Wiki。 + +## 安装 + +Linux(部分): +- Debian 13+ / Ubuntu: apt install fastfetch +- Arch: pacman -S fastfetch +- Fedora: dnf install fastfetch +- openSUSE: zypper install fastfetch +- Linuxbrew:brew install fastfetch +- 各发行版打包状态:https://repology.org/project/fastfetch/versions + +macOS: +- Homebrew:brew install fastfetch +- MacPorts:sudo port install fastfetch + +Windows: +- scoop install fastfetch +- choco install fastfetch +- winget install fastfetch +- MSYS2:pacman -S mingw-w64---fastfetch + +BSD: +- FreeBSD:pkg install fastfetch +- NetBSD:pkgin in fastfetch +- OpenBSD:pkg_add fastfetch + +Android(Termux): +- pkg install fastfetch + +Nightly 构建: +- https://nightly.link/fastfetch-cli/fastfetch/workflows/ci/dev?preview + +## 源码构建 + +基本上是 `cmake . && make`。详见 Wiki:https://github.com/fastfetch-cli/fastfetch/wiki/Building + +## 使用 + +- 默认运行:`fastfetch` +- 查看所有可用模块示例:`fastfetch -c all.jsonc` +- 以 JSON 输出指定模块:`fastfetch -s [:] --format json` +- 完整命令行帮助:`fastfetch --help` +- 生成最小配置:`fastfetch --gen-config []` + - 生成完整配置:`fastfetch --gen-config-full` + - 请使用支持 JSON schema 的编辑器(如 VSCode)编辑配置文件! + - 如果你连接 Github 有网络困难(智能提示不生效),可将配置文件中的 `$schema` 的值替换为 `https://gitee.com/carterl/fastfetch/raw/dev/doc/json_schema.json` + +## 定制 + +- 配置使用 JSONC,语法与选项见 Wiki:https://github.com/fastfetch-cli/fastfetch/wiki/Configuration +- 预设示例位于 presets,可用 `-c ` 加载 +- Logo 选项与图像显示见文档:https://github.com/fastfetch-cli/fastfetch/wiki/Logo-options +- 模块格式化(示例,仅显示 GPU 名称): +```jsonc +{ + "modules": [ + { "type": "gpu", "format": "{name}" } + ] +} +``` +详见:https://github.com/fastfetch-cli/fastfetch/wiki/Format-String-Guide + +## 反馈与支持 + +- 使用问题:Discussions https://github.com/fastfetch-cli/fastfetch/discussions +- 疑似缺陷:Issues https://github.com/fastfetch-cli/fastfetch/issues(请填写模版) + +## 赞助 + + -- cgit v1.2.3