当前位置: 首页 > news >正文

郑州做网站汉狮网络天津网站定制

郑州做网站汉狮网络,天津网站定制,团购汽车最便宜的网站建设,网站建设的摘要1、Homebrew 简介 官网地址#xff1a;https://brew.sh Homebrew 是一款Mac OS平台下的软件包管理工具#xff0c;拥有安装、卸载、更新、查看、搜索等很多实用的功能。 Homebrew 主要有四个部分组成: brew、homebrew-core 、homebrew-bottles、homebrew-cask。 源说明br…1、Homebrew 简介 官网地址https://brew.sh Homebrew 是一款Mac OS平台下的软件包管理工具拥有安装、卸载、更新、查看、搜索等很多实用的功能。 Homebrew 主要有四个部分组成: brew、homebrew-core 、homebrew-bottles、homebrew-cask。 源说明brewHomebrew 源代码仓库homebrew-coreHomebrew 核心软件仓库homebrew-bottlesHomebrew 预编译二进制软件包homebrew-cask提供 macOS 应用和大型二进制文件 2、安装 Homebrew 下边三种命令任选一条命令执行即可 /bin/bash -c $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)ruby -e $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)/bin/zsh -c $(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh) source /Users/rzm/.zprofile3、卸载 Homebrew /bin/bash -c $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)4、Homebrew 命令 命令说明brew -v查看版本brew -h查看帮助信息brew help查看帮助信息brew list列出已安装的软件包brew update更新 homebrewbrew outdated列出可以更新的软件包brew upgrade更新所有安装过的软件包brew upgrade git更新指定的软件包brew search git查找软件包brew install git安装软件包brew remove git卸载软件包brew info git查看软件包信息brew deps git列出软件包的依赖关系 5、修改 Homebrew 源 5.1 阿里源 # 查看 brew.git 当前源 $ cd $(brew --repo) git remote -v origin https://github.com/Homebrew/brew.git (fetch) origin https://github.com/Homebrew/brew.git (push)# 查看 homebrew-core.git 当前源 $ cd $(brew --repo homebrew/core) git remote -v origin https://github.com/Homebrew/homebrew-core.git (fetch) origin https://github.com/Homebrew/homebrew-core.git (push)# 修改 brew.git 为阿里源 $ git -C $(brew --repo) remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git# 修改 homebrew-core.git 为阿里源 $ git -C $(brew --repo homebrew/core) remote set-url origin https://mirrors.aliyun.com/homebrew/homebrew-core.git# zsh 替换 brew bintray 镜像 $ echo export HOMEBREW_BOTTLE_DOMAINhttps://mirrors.aliyun.com/homebrew/homebrew-bottles ~/.zshrc $ source ~/.zshrc# bash 替换 brew bintray 镜像 $ echo export HOMEBREW_BOTTLE_DOMAINhttps://mirrors.aliyun.com/homebrew/homebrew-bottles ~/.bash_profile $ source ~/.bash_profile# 刷新源 $ brew update5.2 清华源 # 替换各个源 $ git -C $(brew --repo) remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git $ git -C $(brew --repo homebrew/core) remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git $ git -C $(brew --repo homebrew/cask) remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git# zsh 替换 brew bintray 镜像 $ echo export HOMEBREW_BOTTLE_DOMAINhttps://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles ~/.zshrc $ source ~/.zshrc# bash 替换 brew bintray 镜像 $ echo export HOMEBREW_BOTTLE_DOMAINhttps://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles ~/.bash_profile $ source ~/.bash_profile# 刷新源 $ brew update5.3 中科大源 # 替换各个源 $ git -C $(brew --repo) remote set-url origin https://mirrors.ustc.edu.cn/brew.git $ git -C $(brew --repo homebrew/core) remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git $ git -C $(brew --repo homebrew/cask) remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git# zsh 替换 brew bintray 镜像 $ echo export HOMEBREW_BOTTLE_DOMAINhttps://mirrors.ustc.edu.cn/homebrew-bottles ~/.zshrc $ source ~/.zshrc# bash 替换 brew bintray 镜像 $ echo export HOMEBREW_BOTTLE_DOMAINhttps://mirrors.ustc.edu.cn/homebrew-bottles ~/.bash_profile $ source ~/.bash_profile# 刷新源 $ brew update5.4 官方源重置 # 重置 brew.git 为官方源 $ git -C $(brew --repo) remote set-url origin https://github.com/Homebrew/brew.git# 重置 homebrew-core.git 为官方源 $ git -C $(brew --repo homebrew/core) remote set-url origin https://github.com/Homebrew/homebrew-core.git# 重置 homebrew-cask.git 为官方源 $ git -C $(brew --repo homebrew/cask) remote set-url origin https://github.com/Homebrew/homebrew-cask# zsh 注释掉 HOMEBREW_BOTTLE_DOMAIN 配置其实就是加个#也可用nano $ vi ~/.zshrc # export HOMEBREW_BOTTLE_DOMAINxxxxxxxxx# bash 注释掉 HOMEBREW_BOTTLE_DOMAIN 配置其实就是加个#也可用nano $ vi ~/.bash_profile # export HOMEBREW_BOTTLE_DOMAINxxxxxxxxx# 刷新源 $ brew update10、参考资料 Mac 下 brew 源切换Mac软件包管理
http://www.w-s-a.com/news/244581/

相关文章:

  • 学网站开发去哪学药品销售推广方案
  • 哔哩哔哩h5播放器深圳网站seo外包公司哪家好
  • asp做的手机网站wordpress 文章title
  • 网站验证码目录wordpress内嵌播放器
  • 文明网网站建设南昌市建设规费标准网站
  • 安康有建网站的公司吗做网站用什么网名好
  • 济南网站制作哪家专业西安市城乡建设网官方网站
  • 网站建设有趣小游戏怎样让网站优化的方式
  • 昭通做网站儿童编程教学入门教程
  • eclipse静态网站开发软文广告投放平台
  • 网站建设教学视频济南做网站需要多少钱
  • 网站免费做软件市工商联官方网站建设方案
  • 网站建设大体包含英铭长沙网站建设
  • 网站建设培训学校北京如何搜索网站
  • discuz论坛模板哪些网站容易做seo优化
  • 渭南公司做网站网站建设互联网推广
  • 公司网站app怎么做杭州建设局网站
  • 网站开发需要自己写代码吗12306网站多少钱做的
  • 策勒网站建设四川建设网有限责任公司招聘
  • 网站建设哪里有学网页界面设计论文
  • 怎么做外贸网站推广劳务公司网站怎么做
  • 滴答手表网站中铁建设集团有限公司招聘信息2021
  • 重庆富通科技有限公司网站新闻头条最新消息国家大事
  • 四字母net做网站怎么样企业代运营公司
  • 纪检网站建设方案wordpress首页静态页面
  • 网站右下角浮动效果如何做网站logo设计在线生成
  • 西宁哪里做网站婚纱摄影网站设计思路
  • 凡科用模板做网站网站导入页欣赏
  • 北京响应式网站建设公司十大小程序开发公司
  • dw网站开发删除wordpress主题底部