You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/getting-started/install/macos.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,20 @@ brew tap tinygo-org/tools
18
18
brew install tinygo
19
19
```
20
20
21
-
Alternatively, you can download and extract the files manually by downloading [this](https://github.com/tinygo-org/tinygo/releases/download/v0.23.0/tinygo0.23.0.darwin-amd64.tar.gz) file.
21
+
### Alternative installation
22
+
23
+
Download [this](https://github.com/tinygo-org/tinygo/releases/download/v0.24.0/tinygo0.24.0.darwin-amd64.tar.gz) file. Then, run the following commands:
24
+
25
+
```shell
26
+
tar xvzf tinygo-0.24.0.darwin-amd64.tar.gz
27
+
export PATH=<extract location>/tinygo/bin:$PATH
28
+
```
22
29
23
30
You can test that the installation is working properly by running this code which should display the version number:
24
31
25
32
```shell
26
33
$ tinygo version
27
-
tinygo version 0.23.0 darwin/amd64 (using go version go1.18.1 and LLVM version 14.0.0)
34
+
tinygo version 0.24.0 darwin/amd64 (using go version go1.18.1 and LLVM version 14.0.0)
28
35
```
29
36
30
37
If you are only interested in compiling TinyGo code for WebAssembly then you are done with the installation.
@@ -33,10 +40,10 @@ Otherwise, please continue with the installation of the additional requirements
33
40
34
41
### Additional Requirements for Microcontrollers
35
42
36
-
Some boards require a special flashing tool for that particular chip, like `openocd` or `nrfjprog`. See the documentation page for your board as listed [here](../../../docs/reference/microcontrollers/) to see which flashing tool is required for your target board.
37
-
38
43
If you are only interested in compiling TinyGo code for ARM microcontrollers then you are now done with the installation.
39
44
45
+
Some boards require a special flashing tool for that particular chip, like `openocd` or `nrfjprog`. See the documentation page for your board as listed [here](../../../docs/reference/microcontrollers/) to see which flashing tool is required for your target board.
46
+
40
47
#### AVR (e.g. Arduino Uno)
41
48
42
49
To compile and flash TinyGo programs for AVR based processors such as the original Arduino Uno you must install some extra tools:
0 commit comments