1.安装brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2.安装Flink
brew install apache-flink
flink安装完成后会有一个本地安装地址
/usr/local/Cellar/apache-flink/1.14.4
3.启动Flink集群
cd /usr/local/Cellar/apache-flink/1.14.4
./libexec/bin/start-cluster.sh
4.查看Flink的web页面
http://localhost:8081/#/overview
5.关闭Flink集群
./libexec/bin/stop-cluster.sh