From b1f523dcacd29bbeac7d703792c69abe36a7152b Mon Sep 17 00:00:00 2001 From: Dan Kegel Date: Mon, 6 Oct 2025 08:08:32 -0700 Subject: [PATCH] install/windows.md: document how to do persistent PATH changes --- content/getting-started/install/windows.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/getting-started/install/windows.md b/content/getting-started/install/windows.md index 97eefb6c..d4cb4f2c 100644 --- a/content/getting-started/install/windows.md +++ b/content/getting-started/install/windows.md @@ -95,6 +95,16 @@ Upgrading to the latest versions can be as easy as: > set PATH=%PATH%;"C:\tinygo\bin"; ``` +- The above is fine for testing, but to change your PATH in a way that survives reboots, you'll need to use a different method, e.g. + + - Click the Start button or press the Windows key. + - In the search bar, type env. + - From the search results, choose the option that says "Edit the system environment variables." This will open the System Properties window. + - In the System Properties window, navigate to the "Advanced" tab and then click the "Environment Variables..." button. This will open the Environment Variables window. + - Select PATH in User Variables and click edit, then add C:\tinygo\bin to the list. + - Click "OK" on all open dialog boxes to save them + - Reboot + - Now you should be able to run the TinyGo command: ```