Skip to content

Commit d7c8463

Browse files
thushandeadprogram
authored andcommitted
Updates to include scoop update too.
1 parent 4931d9e commit d7c8463

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

content/getting-started/windows.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,41 @@ This page has information on how to install and use TinyGo on Windows 10.
1111

1212
We now have a native install for Windows 10.
1313

14-
VERY IMPORTANT NOTE: You cannot yet create Windows binary programs using TinyGo, only MCU and WASM targets.
14+
> **VERY IMPORTANT NOTE:**
15+
> You cannot yet create Windows binary programs using TinyGo, only MCU and WASM targets.
16+
17+
TinyGo requires Go v1.14+ to be already installed on your machine.
1518

1619
### Quick Install via Scoop
1720

1821
You can use [Scoop](https://scoop.sh/) to install TinyGo and dependencies.
1922

20-
You must have Go v1.14+ already installed on your machine in order to install TinyGo. If you haven't installed Go already, you can do so with the following commands:
23+
If you haven't installed Go already, you can do so with the following command:
2124

2225
```shell
23-
scoop install go
26+
> scoop install go
2427
```
2528

26-
Then install TinyGo using the following command - this will also update the PATH variable to point to the installed package:
29+
Followed by TinyGo itself:
2730

2831
```shell
29-
scoop install tinygo
32+
> scoop install tinygo
3033
```
3134

32-
You can test that the installation is working properly by running this code which should display the version number:
35+
Your `$PATH` environment variable will be updated via the scoop package. By default a shim is created in `~/scoop/shims/tinygo`.
36+
37+
You can test that the installation was successful by running the `version` command which should display the version number:
3338

3439
```shell
35-
tinygo version
40+
> tinygo version
3641
tinygo version 0.14.1 windows/amd64 (using go version go1.15 and LLVM version 10.0.1)
3742
```
3843

44+
Upgrading to the latest TinyGo version can be done via scoop with:
45+
46+
```shell
47+
> scoop update tinygo
48+
```
3949

4050
### Manual Install
4151

@@ -58,13 +68,13 @@ tinygo version 0.14.1 windows/amd64 (using go version go1.15 and LLVM version 10
5868
- You will need to add `C:\tinygo\bin` to your PATH.
5969

6070
```shell
61-
set PATH=%PATH%;"C:\tinygo\bin";
71+
> set PATH=%PATH%;"C:\tinygo\bin";
6272
```
6373

6474
- Now you should be able to run the TinyGo command:
6575

6676
```
67-
tinygo version
77+
> tinygo version
6878
tinygo version 0.14.1 windows/amd64 (using go version go1.15 and LLVM version 10.0.1)
6979
```
7080

0 commit comments

Comments
 (0)