Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: added windows installation guide #1851

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,50 @@ curl -LO $BINARY_URL && \
tar -xvf kubefirst_${KUBEFIRST_VERSION:1}_linux_amd64.tar.gz -C /usr/local/bin/ && \
chmod +x /usr/local/bin/kubefirst
```


## Windows Manual Installation

- Step 1:

Ensure you completely installed Windows WSL

- Step2:

Run the following commands to export and set the necessary environment variables for the installation
```shell
export KUBEFIRST_VERSION=`curl https://github.com/kubefirst/kubefirst/releases/latest -Ls -o /dev/null -w %{url_effective} | grep -oE "[^/]+$"`
```

```shell
export BINARY_URL="https://github.com/kubefirst/kubefirst/releases/download/${KUBEFIRST_VERSION}/kubefirst_${KUBEFIRST_VERSION:1}_linux_amd64.tar.gz"
```
- Step 3:

Now the complete installation
```shell
curl -LO $BINARY_URL && \
tar -xvf kubefirst_${KUBEFIRST_VERSION:1}_linux_amd64.tar.gz -C /usr/local/bin/ && \
chmod +x /usr/local/bin/kubefirst
```

If you have issues using a single line commands as above, try separating the commands as below to unzip and move the executable in to the right directory
```shell
tar -xvf kubefirst_${KUBEFIRST_VERSION:1}_linux_amd64.tar.gz
```

```shell
mv kubefirst_${KUBEFIRST_VERSION:1}_linux_amd64.tar.gz /usr/local/bin/
```

```shell
chmod +x /usr/local/bin/kubefirst
```

- Step 4:

To run this for a project you need a docker daemon running, install and start a docker desktop will serve the purpose. Then run the below code to create a project

```shell
kubefirst k3d create
```