在Mac上使用国内源安装 homebrew

打开终端,执行如下指令

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

还原官网地址

git -C "/opt/homebrew" remote set-url origin https://github.com/Homebrew/brew

查看版本

brew -v

查找软件

brew search tcpdump

安装软件

brew install tcpdump

软件测试

sudo tcpdump

相关推荐

  1. Mac使用国内安装 homebrew

    2024-04-30 08:08:03       12 阅读
  2. macOS使用Homebrew安装PHP的完整指南

    2024-04-30 08:08:03       33 阅读
  3. MacOS安装Homebrew:初学者指南

    2024-04-30 08:08:03       27 阅读
  4. macOS 使用 Homebrew 安装和配置 Python 及 Tk 库

    2024-04-30 08:08:03       8 阅读
  5. 如何mac使用homebrew安装 mysql?

    2024-04-30 08:08:03       21 阅读
  6. MacOS 安装 Homebrew 】讲解

    2024-04-30 08:08:03       22 阅读
  7. Mac 使用 Homebrew 安装 Python3

    2024-04-30 08:08:03       9 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-04-30 08:08:03       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-04-30 08:08:03       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-04-30 08:08:03       19 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-04-30 08:08:03       20 阅读

热门阅读

  1. elementUI之el-select选择器赋值为空后无法选中回显

    2024-04-30 08:08:03       9 阅读
  2. 介绍一个在数据分析中常用的函数:data.iloc[]

    2024-04-30 08:08:03       14 阅读
  3. Tomcat Bootstrap init()

    2024-04-30 08:08:03       11 阅读
  4. CAPM模型特点

    2024-04-30 08:08:03       9 阅读
  5. Google云平台(Google Cloud Platform,简称GCP)

    2024-04-30 08:08:03       15 阅读
  6. Spring Boot面试知识点总结(经典15问)

    2024-04-30 08:08:03       12 阅读
  7. 2024.4.29力扣每日一题——将矩阵按对角线排序

    2024-04-30 08:08:03       12 阅读
  8. Selenium的基本使用

    2024-04-30 08:08:03       13 阅读
  9. 基本排序算法

    2024-04-30 08:08:03       10 阅读