Skip to content

Commit 26df018

Browse files
charathramdeadprogram
authored andcommitted
1. Fixed #266
2. Changed order to read more logically in Microcontrollers section.
1 parent 34c4e5f commit 26df018

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

content/getting-started/install/macos.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,20 @@ brew tap tinygo-org/tools
1818
brew install tinygo
1919
```
2020

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+
```
2229

2330
You can test that the installation is working properly by running this code which should display the version number:
2431

2532
```shell
2633
$ 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)
2835
```
2936

3037
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
3340

3441
### Additional Requirements for Microcontrollers
3542

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-
3843
If you are only interested in compiling TinyGo code for ARM microcontrollers then you are now done with the installation.
3944

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+
4047
#### AVR (e.g. Arduino Uno)
4148

4249
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

Comments
 (0)