tinygo-org / tinygo

Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
https://tinygo.org
Other
15.25k stars 900 forks source link

Added Script to install tiny go in Windows with one click #4445

Open Thepathakarpit opened 1 month ago

Thepathakarpit commented 1 month ago

Open notepad paste script save with .bat extension. Double click on file in file manager. Done Tinygo installed in your windows system.

ysoldak commented 3 weeks ago

Feel like this belongs to the website, can be a separate file to download or inlined in .md file. See https://github.com/tinygo-org/tinygo-site/blob/release/content/getting-started/install/windows.md

leongross commented 3 weeks ago

Hi @Thepathakarpit, as a quick heads up, I am not a Windows user and do not know a lot about the best practices. I like the idea of simplifying Windows installs, but I am not sure if adding another script is the solution here since we already have a GNUmakefile for sth similar. I know that one can install GNU make via chocolatey and I assume it works similar to the linux version? I don't know how the integration for batch files is there but to hide the complexity and yet another script in the tree, maybe it's possible to go GNUmakefile way?