<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>brew on Leanku</title>
    <link>https://blog.leanku.com/categories/brew/</link>
    <description>Recent content in brew on Leanku</description>
    <image>
      <url>https://blog.leanku.com/papermod-cover.png</url>
      <link>https://blog.leanku.com/papermod-cover.png</link>
    </image>
    <generator>Hugo -- gohugo.io</generator>
    <lastBuildDate>Thu, 11 May 2023 20:46:01 +0800</lastBuildDate><atom:link href="https://blog.leanku.com/categories/brew/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Brew 使用指南</title>
      <link>https://blog.leanku.com/post/brew%E4%BD%BF%E7%94%A8/</link>
      <pubDate>Thu, 11 May 2023 20:46:01 +0800</pubDate>
      
      <guid>https://blog.leanku.com/post/brew%E4%BD%BF%E7%94%A8/</guid>
      <description>Brew 使用指南 一、什么是 brew？ 全程：Homebrew
macOS（或 Linux）软件包管理器。它可以让你轻松地安装、更新、卸载软件，解决软件依赖关系，你不再需要手动下载、拖拽安装或处理复杂的编译选项。
Homebrew 会将软件包安装到独立目录，并将其文件软链接至 /opt/homebrew 。
brew官网
二、安装 Homebrew 在终端（Terminal）中执行以下命令：
/bin/bash -c &amp;#34;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&amp;#34; 安装完成后，运行以下命令确保 Brew 工作正常：
brew doctor 三、基础使用命令 1. 安装软件 安装命令行工具（Formula）： brew install &amp;lt;formula_name&amp;gt; # 示例：安装 wget, tree, node brew install wget tree node 安装图形界面应用（Cask） brew install --cask &amp;lt;cask_name&amp;gt; # 示例：安装 Chrome, VS Code, Spotify brew install --cask google-chrome visual-studio-code spotify 2. 查询软件 搜索软件（不确定完整包名时非常有用）： brew search &amp;lt;keyword&amp;gt; # 示例：搜索所有与 python 相关的包 brew search python 查看已安装的软件列表： brew list # 列出所有通过 Formula 安装的命令行工具 brew list --cask # 列出所有通过 Cask 安装的应用程序 查看某个软件的信息： brew info &amp;lt;formula_name&amp;gt; brew info --cask &amp;lt;cask_name&amp;gt; 3.</description>
    </item>
    
  </channel>
</rss>
