mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 01:43:32 -05:00
docs: Update set PATH instructions for Windows
This commit is contained in:
parent
21e0515fed
commit
2304614639
1 changed files with 2 additions and 2 deletions
|
@ -35,9 +35,9 @@ You'll need a place to store the Hugo executable, your content (the files that y
|
||||||
## Technical users
|
## Technical users
|
||||||
|
|
||||||
1. Download the latest zipped Hugo executable from the [Hugo Releases](https://github.com/spf13/hugo/releases) page.
|
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.
|
2. Extract all contents to your `..\Hugo\bin` folder.
|
||||||
3. You'll probably want to rename the Hugo executable to something short like `hugo.exe`.
|
3. You'll probably want to rename the Hugo executable to something short like `hugo.exe`.
|
||||||
4. In Powershell or your preferred CLI, add the `hugo.exe` executable to your PATH with: `C:\Hugo\bin>set PATH=%PATH%;D:\Hugo\bin`
|
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
|
## Less technical users
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue