From 7c6ffb9dcdd9e2d4e5a5a846af92d2cd9013e50a Mon Sep 17 00:00:00 2001 From: Charlie Voiselle <464492+angrycub@users.noreply.github.com> Date: Thu, 11 Feb 2021 18:42:18 -0500 Subject: [PATCH] Updated Homebrew install instructions --- website/content/docs/install/index.mdx | 38 +++++++++++++------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/website/content/docs/install/index.mdx b/website/content/docs/install/index.mdx index 770e1d1da..ee125fd4e 100644 --- a/website/content/docs/install/index.mdx +++ b/website/content/docs/install/index.mdx @@ -16,7 +16,6 @@ operating systems. You can also [build Nomad from source](#from-source). - You can download a [precompiled binary](/downloads) and run it on your machine locally. You can also verify the binary using the available SHA-256 sums. After downloading Nomad, unzip the package. Make sure @@ -52,14 +51,12 @@ Nomad binary's location to that list and then launch a new console window. - HashiCorp officially maintains and signs packages for the following Linux distributions. - Add the HashiCorp [GPG key][gpg-key]. ```shell-session @@ -81,7 +78,6 @@ $ sudo apt-get update && sudo apt-get install nomad - Install `yum-config-manager` to manage your repositories. ```shell-session @@ -103,7 +99,6 @@ $ sudo yum -y install nomad - Install `dnf config-manager` to manage your repositories. ```shell-session @@ -125,7 +120,6 @@ $ sudo dnf -y install nomad - Install `yum-config-manager` to manage your repositories. ```shell-session @@ -147,7 +141,6 @@ $ sudo yum -y install nomad - -> **TIP:** Now that you have added the HashiCorp repository, you can install [Consul](https://learn.hashicorp.com/consul) and [Vault](https://learn.hashicorp.com/vault) with the same command. @@ -155,27 +148,35 @@ $ sudo yum -y install nomad +[Homebrew](https://brew.sh) is a free and open source package management system +for Mac OS X. Install the official [Nomad +formula](https://github.com/hashicorp/homebrew-tap) from the terminal. -[Homebrew](https://brew.sh) is a free and open-source package management system -for macOS. Install the [Nomad formula](https://formulae.brew.sh/formula/nomad) -from the terminal. +First, install the HashiCorp tap, a repository of all of the HashiCorp Homebrew +packages. ```shell-session -$ brew install nomad +$ brew tap hashicorp/tap ``` -~> **NOTE:** Homebrew and the Nomad formula are **NOT** directly maintained by -HashiCorp. The latest version of Nomad is always available by manual -installation. +Now, install Nomad with `hashicorp/tap/nomad`. -~> **NOTE**: On macOS, machines without a Java environment installed will be -prompted to install Java because of a [known issue—#7865][gh-7865]. The linked -GitHub issue has workarounds for this issue. +```shell-session +$ brew install hashicorp/tap/nomad +``` + +~> **NOTE:** This installs a signed binary and is automatically updated with +every new official release. + +To update to the latest, run + +```shell-session +$ brew upgrade hashicorp/tap/nomad +``` - [Chocolatey](https://chocolatey.org/) is a free and open-source package management system for Windows. Install the [Nomad package](https://chocolatey.org/packages/nomad) from the command-line. @@ -191,7 +192,6 @@ installation. - --- ## Verify the Installation