Skip to content

Commit 7f6f419

Browse files
authored
Update macOS install steps to use curl instead of wget (#87186) (#87420)
1 parent d9e1e8d commit 7f6f419

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/reference/setup/install/targz.asciidoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@ The MacOS archive for {es} v{version} can be downloaded and installed as follows
5656

5757
["source","sh",subs="attributes"]
5858
--------------------------------------------
59-
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{version}-darwin-x86_64.tar.gz
60-
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{version}-darwin-x86_64.tar.gz.sha512
61-
shasum -a 512 -c elasticsearch-{version}-darwin-x86_64.tar.gz.sha512 <1>
59+
curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{version}-darwin-x86_64.tar.gz
60+
curl https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{version}-darwin-x86_64.tar.gz.sha512 | shasum -a 512 -c - <1>
6261
tar -xzf elasticsearch-{version}-darwin-x86_64.tar.gz
6362
cd elasticsearch-{version}/ <2>
6463
--------------------------------------------
64+
// NOTCONSOLE
65+
6566
<1> Compares the SHA of the downloaded `.tar.gz` archive and the published checksum, which should output
6667
`elasticsearch-{version}-darwin-x86_64.tar.gz: OK`.
6768
<2> This directory is known as `$ES_HOME`.

0 commit comments

Comments
 (0)