@@ -6,6 +6,8 @@ an OpenShift environment.
66
77For details, please refer to Cloud Native PostgreSQL documentation.
88
9+ ## Mac OS and Linux install
10+
911You can install the plugin in your system with:
1012
1113``` sh
@@ -16,3 +18,38 @@ curl -sSfL \
1618
1719The plugin requires the Cloud Native PostgreSQL operator to be
1820installed in the Kubernetes/Openshift cluster.
21+
22+ ## Windows install
23+
24+ To install the plugin on Windows go to the [ releases
25+ page] ( https://github.com/EnterpriseDB/kubectl-cnp/releases ) and get the most
26+ recent release for your Windows architecture.
27+
28+ For example, if you are using an ` x86_64 ` build of Windows, you would download
29+ the file named ` kubectl-cnp_<version>_windows_x86_64.tar.gz ` .
30+
31+ The release includes a checksum file, named
32+ ` kubectl-cnp-<version>-checksums.txt ` , that can be used to validate the
33+ integrity of the Kubectl binary.
34+
35+ To validate the file you can compare the output of the following command
36+ against the relative line in the checksums file:
37+
38+ ```
39+ CertUtil -hashfile <tar-file> SHA256
40+ ```
41+
42+ Now you can extract the contents of the TAR archive using the following
43+ command:
44+
45+ ```
46+ tar xvzf <tar-file>
47+ ```
48+
49+ You can copy the ` kubectl-cnp.exe ` file in any directory pointed by your ` PATH `
50+ environment variable, or prepend or append the Kubectl Cnp binary folder to
51+ your ` PATH ` environment variable.
52+
53+ The directory where ` kubectl.exe ` is is usually a good choice for copying the
54+ ` kubectl-cnp.exe ` file to.
55+
0 commit comments