首页 > 其他分享 >Mac Homebrew 安装

Mac Homebrew 安装

时间:2022-12-02 19:36:51浏览次数:59  
标签:bin opt Mac eval homebrew Homebrew 安装 shellenv

1、Make sure you've installed Brew, with this (wait until its done installing) (Edit: added ending quote to the end)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2、Then follow NEXT STEPS shown on command line, it should show something like this

==> Next steps:
- Add Homebrew to your PATH in /Users/$USER/.zprofile:
    echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile
    eval $(/opt/homebrew/bin/brew shellenv)

3、Copy and paste the first line on the same terminal window, then hit enter

echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile

4、Then Copy and paste the last line on the same terminal window, then hit enter

eval $(/opt/homebrew/bin/brew shellenv)

标签:bin,opt,Mac,eval,homebrew,Homebrew,安装,shellenv
From: https://www.cnblogs.com/huaranmeng/p/16945426.html

相关文章

  • CentOS Linux 的安装
    CentOSLinux的安装作者:Grey原文地址:博客园:CentOSLinux的安装CSDN:CentOSLinux的安装说明本安装说明是基于Windows10下VMwareworkstation16安装Linux,Li......
  • Windows Live Messenger 2011,离线安装、多开、去广告……
    WindowsLiveMessenger2011,离线安装、多开、去广告……WindowsLiveEssentials2011发布之后,我就马上喜欢上了其中的​​WindowsLiveMesh​​​和​​WindowsLiveWri......
  • mac使用
    https://support.apple.com/zh-cn/guide/mac-help/mchlp1236/machttp://t.zoukankan.com/sandea-p-11320708.html......
  • mac安装nginx
    homebrew安装Nginx推荐Mac电脑上内置homebrew工具安装。安装Nginx:brewinstallnginx卸载Nginx:brewuninstallnginxHomebrewHomebrew是一款MacOS平台下的......
  • Linux安装宝塔,OCI8,连接ORACLE数据库
    https://www.cnblogs.com/YALSI/p/16677974.html基础环境centos7安装BT宝塔网址:https://www.bt.cn/download/linux.html安装ORACLE客户端下载地址: https://www.o......
  • Docker 安装 nexus 私服
    1.下载nexus3镜像dockerpullsonatype/nexus32.新建挂载目录这里将nexus的目录挂载到宿主机的​​/usr/soft/nexus-data​​文件夹下,并修改文件夹权限mkdir-p/usr/......
  • Docker swarm 安装MySQL集群
    这里直接采用的是5.7.24版本的MySQL初始化dockerswarm:dockerswarminit正常会显示当前服务器作为leader,然后打印出来加入此dockerswarm的token。我这里执行过了,使用d......
  • Deepin系统安装eclipse、subversion插件、IDEA安装
    eclipse、IDEA安装直接deepin商店直接安装的1.eclipsesubversion插件安装eclipsesubversion插件CSDN都要收费,找了很久才找到不收费的。感谢~下载下载后解压打开......
  • Deepin系统安装docker
    docker安装Deepin软件仓库有Docker,可以通过一键脚本安装1.安装dockersudoapt-getupdatesudoapt-getinstalldocker-cedocker-v2.授权普通用户运行dockersudo......
  • windos 2008 r2 安装nginx
    NGINX安装一、下载相关文件1、nginx地址:http://nginx.org/en/download.html  2、WindowsServiceWrapper地址:http://repo.jenkins-ci.org/releases/com/sun......