Repository: flink Updated Branches: refs/heads/master a92d78746 -> 87b907736
[FLINK-3903] [docs] Add Homebrew installation docs This closes #3393. Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/87b90773 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/87b90773 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/87b90773 Branch: refs/heads/master Commit: 87b9077363ffa2cc7199b1ce7ee730cf09e9759b Parents: a92d787 Author: heytitle <[email protected]> Authored: Wed Feb 22 17:04:42 2017 +0100 Committer: Ufuk Celebi <[email protected]> Committed: Tue Feb 28 11:27:59 2017 +0100 ---------------------------------------------------------------------- docs/quickstart/setup_quickstart.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/87b90773/docs/quickstart/setup_quickstart.md ---------------------------------------------------------------------- diff --git a/docs/quickstart/setup_quickstart.md b/docs/quickstart/setup_quickstart.md index fcf82b5..e5a1923 100644 --- a/docs/quickstart/setup_quickstart.md +++ b/docs/quickstart/setup_quickstart.md @@ -46,9 +46,10 @@ Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode) ~~~ -### Download - {% if site.is_stable %} +<div class="codetabs" markdown="1"> + +<div data-lang="Download and Unpack" markdown="1"> 1. Download a binary from the [downloads page](http://flink.apache.org/downloads.html). You can pick any Hadoop/Scala combination you like. If you plan to just use the local file system, any Hadoop version will work fine. @@ -60,9 +61,23 @@ $ cd ~/Downloads # Go to download directory $ tar xzf flink-*.tgz # Unpack the downloaded archive $ cd flink-{{site.version}} ~~~ +</div> + +<div data-lang="MacOS X" markdown="1"> +For MacOS X users, Flink can be installed through [Homebrew](https://brew.sh/). +~~~bash +$ brew install apache-flink +... +$ flink --version +Version: 1.2.0, Commit ID: 1c659cf +~~~ +</div> + +</div> + {% else %} -Clone the source code from one of our -[repositories](http://flink.apache.org/community.html#source-code), e.g.: +### Download and Compile +Clone the source code from one of our [repositories](http://flink.apache.org/community.html#source-code), e.g.: ~~~bash $ git clone https://github.com/apache/flink.git
