Download and Install seems succeed but nothing happend

my operation system is win10 20H2

i copy command and paste in cmd.exe(in Administrator mode) like this:
powershell -Command “& $([scriptblock]::Create((New-Object Net.WebClient).DownloadString(‘https://platform.activestate.com/dl/cli/90092519.1646931684_pdli01/install-latest.ps1’))) -c’state activate --default megaperl/Perl-5.34.0-Windows’”

and then it started, there is a message on screen:
• Preparing Installer for State Tool Package Manager…

after 3s later, it end, without nothing happend, without any error message,and cmd.exe return to C:\windows\system32> state

then i input perl -v, the version is still 5.26

what happend???why the version is still 5.26?

by the way, the version 5.26 is download from non official website, which is a exe file

can someone help me?

Hi megaperl,

Can you type in “state” to see if the state tool recognized at all? It should show you a list of commands. If not I would try the installation process again after a fresh reboot and a fresh cmd.exe. I tried out the command you used again and had no issues, but that was windows 11. However, windows 10 should work just fine.

Please install the latest version by following the installation documentation here:

Cheers,

-JR