步骤1️⃣:安装homebrew
1.1终端运行命令行
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
1.2出现的问题: Warning: /opt/homebrew/bin is not in your PATH. 未添加 Homebrew 到 PATH
解决办法:设置环境变量:
export PATH=/opt/homebrew/bin:$PATH
然后重新执行 homebrew 安装命令
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
1.3 验证home brew是否正确安装
运行命令行
brew --version
brew 返回版本 命令可用即可
步骤2️⃣:homebrew安装jmeter 后查看版本
brew install jmeter
至此,安装完成!✌️
标签:bin,懒人,Mac,install,PATH,brew,homebrew,Jmeter,安装 From: https://www.cnblogs.com/juee/p/18558750