Error installing Meshery on Ubuntu 22.04

I am getting error while a single step to download, install, and run Meshery using this command:

curl -L https://meshery.io/install | PLATFORM=kubernetes bash -

The Error I am getting is:

Error: stat /home/devilkillerag/.kube/config: no such file or directory. Your local context is configured to run Meshery on Kubernetes using the Default token.<br />The Kubernetes cluster is not accessible. Please confirm that the token is valid. See https://docs.meshery.io/installation/quick-start for additional instructions

The overall output after running the command is:

ORM=kubernetes bash -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7905  100  7905    0     0  13867      0 --:--:-- --:--:-- --:--:-- 13868

Downloading mesheryctl-v0.6.35 for Linux...

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 20.1M  100 20.1M    0     0  2938k      0  0:00:07  0:00:07 --:--:-- 2875k

Extracting mesheryctl-v0.6.35 to temporary folder Gxt6Gfnp1GsJEX4z...

Installing mesheryctl in /usr/local/bin.
[sudo] password for devilkillerag: 
Permission Resolved: mesheryctl installed using sudo permissions.
permissions moved to devilkillerag
Removing installation files
Starting Meshery...
Error: stat /home/devilkillerag/.kube/config: no such file or directory. Your local context is configured to run Meshery on Kubernetes using the Default token.<br />The Kubernetes cluster is not accessible. Please confirm that the token is valid. See https://docs.meshery.io/installation/quick-start for additional instructions

From the error feels like you donot have the kubeconfig, so Just make sure that you have a kubernetes Cluster up and running.

@devilkiller-ag , You should look through the installation steps here here. Let us know if the problem persists.

@Lee @harkiratsm I think it would be great if the installation guide pointed out some prerequisite steps.