From ecef221fe67e68a8807aa5388aace5cc9ce9a707 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Wed, 25 Oct 2023 18:59:10 +0200 Subject: [PATCH 1/2] use curl for fewer steps using curl prevents the roc can't be opened because Apple cannot check it... --- getting_started/README.md | 8 ++++---- getting_started/macos_apple_silicon.md | 6 ++---- getting_started/macos_x86_64.md | 6 ++---- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/getting_started/README.md b/getting_started/README.md index 925f862739..78cd4b57c3 100644 --- a/getting_started/README.md +++ b/getting_started/README.md @@ -10,10 +10,10 @@ If you have a specific question, the [FAQ](../FAQ.md) might have an answer, alth ## Installation -- [Linux x86_64](linux_x86_64.md) -- [MacOS Apple Silicon](macos_apple_silicon.md) -- [MacOS x86_64](macos_x86_64.md) -- [Windows](windows.md) +- [🐧 Linux x86_64](linux_x86_64.md) +- [🍏 MacOS Apple Silicon](macos_apple_silicon.md) +- [🍏 MacOS x86_64](macos_x86_64.md) +- [🟦 Windows](windows.md) - [Other](other.md) ## Running Examples diff --git a/getting_started/macos_apple_silicon.md b/getting_started/macos_apple_silicon.md index 6c275a5078..b9e1e5c24e 100644 --- a/getting_started/macos_apple_silicon.md +++ b/getting_started/macos_apple_silicon.md @@ -7,12 +7,10 @@ In order to develop in Roc, you need to install the Roc CLI, which includes the Roc compiler and some helpful utilities. -1. Download the latest nightly from the assets [here](https://github.com/roc-lang/roc/releases). - -1. To prevent "roc can't be opened because Apple can't check it...": +1. Download the latest roc nightly using the terminal: ```sh - xattr -d com.apple.quarantine roc_nightly-macos_apple_silicon-latest.tar.gz + curl -OL roc_nightly-macos_apple_silicon-latest.tar.gz ``` 1. Untar the archive: diff --git a/getting_started/macos_x86_64.md b/getting_started/macos_x86_64.md index 644e8fe4cf..73a6894d24 100644 --- a/getting_started/macos_x86_64.md +++ b/getting_started/macos_x86_64.md @@ -7,12 +7,10 @@ In order to develop in Roc, you need to install the Roc CLI, which includes the Roc compiler and some helpful utilities. -1. Download the latest nightly from the assets [here](https://github.com/roc-lang/roc/releases). - -1. To prevent "roc can't be opened because Apple can't check it...": +1. 1. Download the latest roc nightly using the terminal: ```sh - xattr -d com.apple.quarantine roc_nightly-macos_x86_64-latest.tar.gz + curl -OL roc_nightly-macos_x86_64-latest.tar.gz ``` 1. Untar the archive: From 24a6694b502f8e60506a1ccfcb88486353c2f138 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Fri, 27 Oct 2023 14:01:16 +0200 Subject: [PATCH 2/2] curl URL fix --- getting_started/macos_apple_silicon.md | 2 +- getting_started/macos_x86_64.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/getting_started/macos_apple_silicon.md b/getting_started/macos_apple_silicon.md index b9e1e5c24e..f7cecbc376 100644 --- a/getting_started/macos_apple_silicon.md +++ b/getting_started/macos_apple_silicon.md @@ -10,7 +10,7 @@ which includes the Roc compiler and some helpful utilities. 1. Download the latest roc nightly using the terminal: ```sh - curl -OL roc_nightly-macos_apple_silicon-latest.tar.gz + curl -OL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-macos_apple_silicon-latest.tar.gz ``` 1. Untar the archive: diff --git a/getting_started/macos_x86_64.md b/getting_started/macos_x86_64.md index 73a6894d24..04cef129d1 100644 --- a/getting_started/macos_x86_64.md +++ b/getting_started/macos_x86_64.md @@ -7,10 +7,10 @@ In order to develop in Roc, you need to install the Roc CLI, which includes the Roc compiler and some helpful utilities. -1. 1. Download the latest roc nightly using the terminal: +1. Download the latest roc nightly using the terminal: ```sh - curl -OL roc_nightly-macos_x86_64-latest.tar.gz + curl -OL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-macos_x86_64-latest.tar.gz ``` 1. Untar the archive: