Skip to content

Commit 9d1e05a

Browse files
authored
replaced some nightly links with alpha2 (#7586)
* replaced some nightly links with alpha2 * don't change Dockerfile * correction * title and description
1 parent 1dda1db commit 9d1e05a

File tree

8 files changed

+75
-15
lines changed

8 files changed

+75
-15
lines changed

Diff for: www/build.sh

+2-7
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,9 @@ else
8484
echo 'Fetching latest roc nightly...'
8585

8686
# get roc release archive
87-
# check if testing archive is available
88-
TESTING_URL="https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-TESTING.tar.gz"
8987
LATEST_URL="https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-latest.tar.gz"
90-
if curl --output /dev/null --silent --head --fail "$TESTING_URL"; then
91-
curl -fOL "$TESTING_URL"
92-
else
93-
curl -fOL "$LATEST_URL"
94-
fi
88+
curl -fOL "$LATEST_URL"
89+
9590
# extract archive
9691
ls | grep "roc_nightly" | xargs tar -xzvf
9792
# delete archive

Diff for: www/content/install/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Here are some Getting Started guides for different operating systems:
1818
<!-- TODO detect current OS with browser and only show link for that, provide other button for others -->
1919

2020
- [Linux x86-64](/install/linux_x86_64)
21+
- [Linux arm64](/install/linux_arm64)
2122
- [Nix Linux/MacOS](/install/nix)
2223
- [MacOS Apple Silicon](/install/macos_apple_silicon)
2324
- [MacOS x86-64](/install/macos_x86_64)

Diff for: www/content/install/linux_arm64.md

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Linux arm64
2+
3+
## How to install Roc
4+
5+
In order to develop in Roc, you need to install the Roc CLI,
6+
which includes the Roc compiler and some helpful utilities.
7+
8+
1. Download the latest roc alpha release using the terminal:
9+
10+
```sh
11+
curl -OL https://github.com/roc-lang/roc/releases/download/0.0.0-alpha2-rolling/roc-linux_arm64-0-alpha2-rolling.tar.gz
12+
```
13+
14+
1. Untar the archive:
15+
16+
```sh
17+
tar -xf roc_nightly-linux_arm64-latest.tar.gz
18+
cd roc_night<TAB TO AUTOCOMPLETE>
19+
```
20+
21+
1. To be able to run the `roc` command anywhere on your system; add the line below to your shell startup script (.profile, .zshrc, ...):
22+
23+
```sh
24+
export PATH=$PATH:~/path/to/roc_nightly-linux_arm64-<VERSION>
25+
```
26+
27+
1. Check everything worked by executing `roc version`
28+
29+
1. If you'd like to use the repl (`roc repl`); install libc development files and ld (binutils) :
30+
- On Ubuntu/Debian:
31+
32+
```sh
33+
sudo apt install libc-dev binutils
34+
```
35+
36+
- On ArchLinux/Manjaro:
37+
38+
```sh
39+
sudo pacman -S glibc binutils
40+
```
41+
42+
- on Fedora:
43+
44+
```sh
45+
sudo dnf install glibc-devel binutils
46+
```
47+
48+
1. Download and run hello world:
49+
50+
```sh
51+
curl -OL https://raw.githubusercontent.com/roc-lang/examples/refs/heads/main/examples/HelloWorld/main.roc
52+
roc main.roc
53+
```
54+
55+
## Next Steps
56+
57+
- [editor setup](https://www.roc-lang.org/install#editor-extensions)
58+
- [tutorial](https://www.roc-lang.org/tutorial)
59+
- [examples](https://www.roc-lang.org/examples)

Diff for: www/content/install/linux_x86_64.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
In order to develop in Roc, you need to install the Roc CLI,
66
which includes the Roc compiler and some helpful utilities.
77

8-
1. Download the latest nightly from the assets [here](https://github.com/roc-lang/roc/releases).
8+
1. Download the latest roc alpha release using the terminal:
9+
10+
```sh
11+
curl -OL https://github.com/roc-lang/roc/releases/download/0.0.0-alpha2-rolling/roc-linux_x86_64-0-alpha2-rolling.tar.gz
12+
```
913

1014
1. Untar the archive:
1115

Diff for: www/content/install/macos_apple_silicon.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
In order to develop in Roc, you need to install the Roc CLI,
66
which includes the Roc compiler and some helpful utilities.
77

8-
1. Download the latest roc nightly using the terminal:
8+
1. Download the latest roc alpha release using the terminal:
99

1010
```sh
11-
curl -OL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-macos_apple_silicon-latest.tar.gz
11+
curl -OL https://github.com/roc-lang/roc/releases/download/0.0.0-alpha2-rolling/roc-macos_apple_silicon-0-alpha2-rolling.tar.gz
1212
```
1313

1414
1. Untar the archive:
1515

1616
```sh
17-
tar xf roc_nightly-macos_apple_silicon-latest.tar.gz
17+
tar xf roc-macos_apple_silicon-0-alpha2-rolling.tar.gz
1818
cd roc_night<TAB TO AUTOCOMPLETE>
1919
```
2020

Diff for: www/content/install/macos_x86_64.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
In order to develop in Roc, you need to install the Roc CLI,
66
which includes the Roc compiler and some helpful utilities.
77

8-
1. Download the latest roc nightly using the terminal:
8+
1. Download the latest roc alpha release using the terminal:
99

1010
```sh
11-
curl -OL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-macos_x86_64-latest.tar.gz
11+
curl -OL https://github.com/roc-lang/roc/releases/download/0.0.0-alpha2-rolling/roc-macos_x86_64-0-alpha2-rolling.tar.gz
1212
```
1313

1414
1. Untar the archive:
1515

1616
```sh
17-
tar xf roc_nightly-macos_x86_64-latest.tar.gz
17+
tar xf roc-macos_x86_64-0-alpha2-rolling.tar.gz
1818
cd roc_night<TAB TO AUTOCOMPLETE>
1919
```
2020

Diff for: www/content/install/windows.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Windows systems
22

3-
Windows support is limited, [folkertdev](https://github.com/folkertdev) and [lukewilliamboswell](https://github.com/lukewilliamboswell) are working on improving this 🚀. Until that is done we recommend using [Ubuntu 22.04](https://apps.microsoft.com/detail/9pn20msr04dw?hl=en-us&gl=US) through the "Windows Subsystem for Linux" (WSL).
3+
Windows support is limited. Until that is here we recommend using [Ubuntu 22.04](https://apps.microsoft.com/detail/9pn20msr04dw?hl=en-us&gl=US) through the "Windows Subsystem for Linux" (WSL).
44

55
Once you're inside Ubuntu, [install Roc](/install/linux_x86_64).

Diff for: www/main.roc

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ page_data =
4949
|> Dict.insert("/examples/index.html", { title: "Examples | Roc", description: "All kinds of examples implemented in the Roc programming language." })
5050
|> Dict.insert("/install/other.html", { title: "Getting started on other systems | Roc", description: "Roc installation guide for other systems" })
5151
|> Dict.insert("/install/linux_x86_64.html", { title: "Getting started on Linux x86_64 | Roc", description: "Roc installation guide for Linux x86_64" })
52+
|> Dict.insert("/install/linux_arm64.html", { title: "Getting started on Linux arm64 | Roc", description: "Roc installation guide for Linux arm64" })
5253
|> Dict.insert("/install/macos_apple_silicon.html", { title: "Getting started on MacOS Apple Silicon | Roc", description: "Roc installation guide for MacOS Apple Silicon" })
5354
|> Dict.insert("/install/macos_x86_64.html", { title: "Getting started on MacOS x86_64 | Roc", description: "Roc installation guide for MacOS x86_64" })
5455
|> Dict.insert("/install/windows.html", { title: "Getting started on Windows | Roc", description: "Roc installation guide for Windows" })

0 commit comments

Comments
 (0)