1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/developer-cli-odo-installing-odo-on-windows.adoc
Yana Hontyk 1231f9160c Restructuing odo docs.
Co-Authored-By: Kathryn Alexander <37149781+kalexand-rh@users.noreply.github.com>
2020-11-05 08:24:01 +00:00

35 lines
1.4 KiB
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/developer_cli_odo/installing-odo.adoc
[id="installing-odo-on-windows_{context}"]
= Installing {odo-title} on Windows
== Binary installation
. Download the latest link:https://mirror.openshift.com/pub/openshift-v4/clients/odo/latest/odo-windows-amd64.exe[`odo.exe`] file.
. Add the location of your `odo.exe` to your `GOPATH/bin` directory.
[discrete]
== Setting the `PATH` variable for Windows 7/8
The following example demonstrates how to set up a path variable. Your binaries can be located in any location, but this example uses C:\go-bin as the location.
. Create a folder at `C:\go-bin`.
. Right click *Start* and click *Control Panel*.
. Select *System and Security* and then click *System*.
. From the menu on the left, select the *Advanced systems settings* and click the *Environment Variables* button at the bottom.
. Select *Path* from the *Variable* section and click *Edit*.
. Click *New* and type `C:\go-bin` into the field or click *Browse* and select the directory, and click *OK*.
[discrete]
== Setting the `PATH` variable for Windows 10
Edit `Environment Variables` using search:
. Click *Search* and type `env` or `environment`.
. Select *Edit environment variables for your account*.
. Select *Path* from the *Variable* section and click *Edit*.
. Click *New* and type `C:\go-bin` into the field or click *Browse* and select the directory, and click *OK*.