Getting this error while setting up meshery

DHIRAJ GUPTA@Simran MINGW64 ~/Documents (master)
$ curl -L https://git.io/meshery | PLATFORM=docker bash -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- 0:00:01 --:–:-- 0
100 6661 100 6661 0 0 2096 0 0:00:03 0:00:03 --:–:-- 10092

Downloading mesheryctl-v0.1.6 for Linux…

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 672 100 672 0 0 676 0 --:–:-- --:–:-- --:–:-- 679
0 0 0 0 0 0 0 0 --:–:-- 0:00:02 --:–:-- 0Warning: Failed to create the file C:/Users/DHIRAJ: Permission denied
0 3839k 0 833 0 0 329 0 3:19:09 0:00:02 3:19:07 634
curl: (23) Failure writing output to destination
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- 0:00:01 --:–:-- 0curl: (6) Could not resolve host: GUPTA
Unable to get latest meshery install package. Set MESHERY_VERSION env var and re-run. For example: export MESHERY_VERSION=v0.1.6

Welcome to the community @simrangupta234
Can you tell few more details about your setup like it’s Mac, Linux, Windows?

also try running the command with adding sudo at the start like this

$ sudo curl -L https://git.io/meshery | PLATFORM=docker bash -

I’m using git bash in windows

Let’me know if sudo thing fails to help you :slightly_smiling_face:

Showing sudo command not found.

$ sudo curl -L https://git.io/meshery | PLATFORM=docker bash -
bash: sudo: command not found

It’s an issue from git bash terminal. I see git bash doesn’t have sudo command.

Run the Git Bash or the console you are running, with Run As Administrator

Still showing same error, after running as Administrator.

This error explains that you can’t create the destination because you don’t have permission. Can you look into how you can solve this, I am not a windows oriented developer so I don’t have much idea on how to solve this error.

That’s the problem. I don’t know, how to solve that.

Hi @simrangupta234 can you try setting up Meshery in WSL2?

Can you tell, how to use that?

@simrangupta234 here you are - Windows | Meshery

3 Likes

thanks, that’s helpful.

1 Like

After running in wsl2, again getting the error.

simrangupta@Simran:/mnt/wsl$ sudo curl -L https://git.io/meshery | PLATFORM=docker bash -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0
Downloading mesheryctl-v0.6.0 for Linux...

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6661  100  6661    0     0    870      0  0:00:07  0:00:07 --:--:-- 32812
100     9    0     9    0     0      3      0 --:--:--  0:00:02 --:--:--     3
Unable to get latest meshery install package. Set MESHERY_VERSION env var and re-run. For example: export MESHERY_VERSION=v0.1.6
1 Like

@asubedy, @navendu, do you think this is a network bandwidth issue? @simrangupta234 will you execute the command again?

1 Like

@simrangupta234 Could you try the solution from this thread? It might be the case that curl is not able to create the temporary folder in your machine to download the zip file.

2 Likes

Hey, thank u for the help. My issue have been resolved using wsl2 as you have told previously.

1 Like