diff --git a/htmgo-site/pages/docs/installation.go b/htmgo-site/pages/docs/installation.go index 731aa54..93ef2ab 100644 --- a/htmgo-site/pages/docs/installation.go +++ b/htmgo-site/pages/docs/installation.go @@ -25,6 +25,9 @@ func Installation(ctx *h.RequestContext) *h.Page { HelpText("If you have not read the htmx docs, please do so before continuing, many of the concepts htmgo uses will become clearer."), StepTitle("1. Install htmgo"), ui.SingleLineBashCodeSnippet(`GOPROXY=direct go install github.com/maddalax/htmgo/cli/htmgo@latest`), + Text("If you are using Windows, you will need to use the following command instead:"), + ui.SingleLineBashCodeSnippet(`set GOPROXY=direct && go install github.com/maddalax/htmgo/cli/htmgo@latest`), + HelpText("Make sure GOPROXY=direct is set, otherwise you may have issues."), StepTitle("2. Create new project"), ui.SingleLineBashCodeSnippet(`htmgo template`), HelpText("this will ask you for a new app name, and it will clone our starter template to a new directory it creates with your app name."),