moonbit-docs
moonbit-docs copied to clipboard
Cannot download toolchain on Windows 11
I got this error when install the toolchain from VSCode extension.
* Executing task: irm https://cli.moonbitlang.com/install/powershell.ps1 | iex
'irm' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
* The terminal process "C:\WINDOWS\System32\cmd.exe /d /c irm https://cli.moonbitlang.com/install/powershell.ps1 | iex" terminated with exit code: 255.
* Press any key to close the terminal.
需要在powershell中执行, 你的vscode 的default terminal不是powershell
use powershell -Command "irm https://cli.moonbitlang.com/install/powershell.ps1 | iex" instead