From e7ff094d6393798f048848e03ded6bf65e3e77f8 Mon Sep 17 00:00:00 2001 From: Akilan Elango Date: Thu, 22 Dec 2016 21:33:33 +0530 Subject: [PATCH] docs: Add details about binary names for setup on Windows The tutorial for installing on windows didn't mention the exact name of the hugo executable in windows which is generally hugo__windows_.exe. The tutorial mentioned the windows executable's name as hugo.exe, which can be confusing sometimes. So extra information has been added to rename the executable to hugo.exe which would be easy to use. Fixes #2656 --- docs/content/tutorials/installing-on-windows.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/content/tutorials/installing-on-windows.md b/docs/content/tutorials/installing-on-windows.md index 1f99390b8..c875c8fe8 100644 --- a/docs/content/tutorials/installing-on-windows.md +++ b/docs/content/tutorials/installing-on-windows.md @@ -36,7 +36,8 @@ You'll need a place to store the Hugo executable, your content (the files that y 1. Download the latest zipped Hugo executable from the [Hugo Releases](https://github.com/spf13/hugo/releases) page. 2. Extract all contents to your `..\Hugo\bin` folder. -3. In PowerShell or your preferred CLI, add the `hugo.exe` executable to your PATH by navigating to `C:\Hugo\bin` (or the location of your hugo.exe file) and use the command `set PATH=%PATH%;C:\Hugo\bin`. If the `hugo` command does not work after a reboot, you may have to run the command prompt as administrator. +3. The hugo executable will be named as `hugo_hugo-version_platform_arch.exe`. Rename that executable to `hugo.exe` for ease of use. +4. In PowerShell or your preferred CLI, add the `hugo.exe` executable to your PATH by navigating to `C:\Hugo\bin` (or the location of your hugo.exe file) and use the command `set PATH=%PATH%;C:\Hugo\bin`. If the `hugo` command does not work after a reboot, you may have to run the command prompt as administrator. ## Less technical users @@ -45,7 +46,7 @@ You'll need a place to store the Hugo executable, your content (the files that y 3. Find the Windows files near the bottom (they're in alphabetical order, so Windows is last) – download either the 32-bit or 64-bit file depending on whether you have 32-bit or 64-bit Windows. (If you don't know, [see here](https://esupport.trendmicro.com/en-us/home/pages/technical-support/1038680.aspx).) 4. Move the ZIP file into your `C:\Hugo\bin` folder. 5. Double-click on the ZIP file and extract its contents. Be sure to extract the contents into the same `C:\Hugo\bin` folder – Windows will do this by default unless you tell it to extract somewhere else. -6. You should now have three new files: hugo.exe, license.md, and readme.md. (you can delete the ZIP download now.) +6. You should now have three new files: hugo executable (example: hugo_0.18_windows_amd64.exe), license.md, and readme.md. (you can delete the ZIP download now.). Rename that hugo executable (hugo_hugo-version_platform_arch.exe) to hugo.exe for ease of use. 7. Now add Hugo to your Windows PATH settings: ### For Windows 10 users: