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
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.
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
@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.