Skip to content

Commit

Permalink
Update Mac installation instructions
Browse files Browse the repository at this point in the history
- Remove specialized message for Apple Silicon.
- Use the `coursier` brew formula.
  • Loading branch information
mbovel committed Sep 4, 2024
1 parent b037073 commit bd2f0e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _data/setup-scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ linux-x86-64: curl -fL https://github.com/coursier/coursier/releases/latest/down
linux-arm64: curl -fL https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup
macOS-x86-64: curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-apple-darwin.gz | gzip -d > cs && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup
macOS-arm64: curl -fL https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch64-apple-darwin.gz | gzip -d > cs && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup
macOS-brew: brew install coursier/formulas/coursier && cs setup
macOS-brew: brew install coursier && coursier setup
windows-link: https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-win32.zip
2 changes: 1 addition & 1 deletion _overviews/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Install it on your system with the following instructions.
{% tab macOS for=install-cs-setup-tabs %}
Run the following command in your terminal, following the on-screen instructions:
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-brew %}
{% altDetails cs-setup-macos-nobrew "Alternatively for Apple Silicon, or if you don't use Homebrew:" %}
{% altDetails cs-setup-macos-nobrew "Alternatively, if you don't use Homebrew:" %}
On the Apple Silicon (M1, M2, …) architecture:
{% include code-snippet.html language='bash' codeSnippet=site.data.setup-scala.macOS-arm64 %}
Otherwise, on the x86-64 architecture:
Expand Down

0 comments on commit bd2f0e2

Please sign in to comment.