<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>入门 - 标签 - cfanzp学习笔记</title>
    <link>https://cfanzp008.github.io/tags/%E5%85%A5%E9%97%A8/</link>
    <description>入门 - 标签 - cfanzp学习笔记</description>
    <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>cfan.zp@qq.com (cfanzp)</managingEditor>
      <webMaster>cfan.zp@qq.com (cfanzp)</webMaster><lastBuildDate>Thu, 02 Apr 2026 14:00:00 &#43;0800</lastBuildDate><atom:link href="https://cfanzp008.github.io/tags/%E5%85%A5%E9%97%A8/" rel="self" type="application/rss+xml" /><item>
  <title>Tmux &#43; OpenCode 安装使用教程</title>
  <link>https://cfanzp008.github.io/tmux-opencode-tutorial/</link>
  <pubDate>Thu, 02 Apr 2026 14:00:00 &#43;0800</pubDate>
  <author>作者</author>
  <guid>https://cfanzp008.github.io/tmux-opencode-tutorial/</guid>
  <description><![CDATA[Tmux + OpenCode 安装使用教程 背景与简介 在日常开发和运维工作中，我们经常需要同时管理多个终端会话：
远程服务器上运行多个服务 同时查看日志、编辑代码、运行测试 临时断开连接后希望保持任务继续运行 Tmux（Terminal Multiplexer）正是为解决这些痛点而设计的终端复用器。而 OpenCode 作为一个开源的 AI 编程助手，可以大幅提升编码效率。
本文将详细介绍两者的安装与基本使用方法。
什么是 Tmux Tmux 是一个终端复用器，允许在一个终端中运行多个会话、窗口和窗格。它的主要功能包括：
会话管理：保持后台任务运行，即使 SSH 断开也不会中断 分屏功能：将终端分割成多个窗格，同时查看多个任务 会话共享：允许其他人加入到同一个终端会话中 标签式操作：通过快捷键快速切换不同窗口 什么是 OpenCode OpenCode 是一个开源的 AI 编程助手，支持：
代码补全与生成 代码审查与重构 自然语言编程 多模型支持 Tmux 安装 Ubuntu/Debian 1 2 sudo apt-get update sudo apt-get install tmux CentOS/RHEL 1 sudo yum install tmux macOS 1 2 # 使用 Homebrew brew install tmux 验证安装 1 tmux -V Tmux 基本使用 启动与退出 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 # 启动新会话 tmux # 指定会话名称启动 tmux new -s mysession # 退出 tmux（会话保留） Ctrl+b 然后按 d # 列出所有会话 tmux ls # 重新接入会话 tmux attach -t mysession # 杀死会话 tmux kill-session -t mysession 快捷键前缀 Tmux 的所有快捷键都需要先按下 前缀键（默认是 Ctrl+b），然后再按功能键。]]></description>
</item>
<item>
  <title>OpenCode AI 编程助手安装指南</title>
  <link>https://cfanzp008.github.io/opencode-install-guide/</link>
  <pubDate>Wed, 01 Apr 2026 10:00:00 &#43;0800</pubDate>
  <author>作者</author>
  <guid>https://cfanzp008.github.io/opencode-install-guide/</guid>
  <description><![CDATA[OpenCode AI 编程助手安装指南 背景 OpenCode 是一个开源的 AI 编程助手，可以在终端、桌面应用或 IDE 扩展中使用。它支持多种 LLM 提供商，包括 Claude、GPT、Gemini 等，也可以使用免费的内置模型。
OpenCode 拥有超过 12 万 GitHub Star、800 位贡献者和超过 1 万次提交，每月被超过 500 万开发者使用。
本文将详细介绍 OpenCode 在不同操作系统上的安装方法。
系统要求 前置条件 使用 OpenCode 终端版本需要满足以下条件：
终端模拟器：推荐使用现代终端，如：
WezTerm - 跨平台 Alacritty - 跨平台 Ghostty - Linux 和 macOS Kitty - Linux 和 macOS LLM 提供商的 API Key：根据你选择的模型提供商，需要准备相应的 API Key
Linux/macOS 安装 方式一：一键安装脚本（推荐） 这是最简单的安装方式，运行以下命令即可：
1 curl -fsSL https://opencode.ai/install | bash 方式二：使用 Node.js 包管理器 如果你已经安装了 Node.]]></description>
</item>
</channel>
</rss>
