Unable to install Volta on WSL - ELF not found

1k Views Asked by At

I am unable to install volta as per its recommended command curl https://get.volta.sh | bash on WSL.

I keep getting this error. And I have no idea what it means.

enter image description here

1

There are 1 best solutions below

0
user2552108 On BEST ANSWER

Found out the answer.

Not sure why exactly, but it turns out my Ubuntu WSL was still on WSL 1, not 2. Updating it solved the problem.