moonbit-docs icon indicating copy to clipboard operation
moonbit-docs copied to clipboard

Cannot download toolchain on Windows 11

Open qtxie opened this issue 1 year ago • 2 comments

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. 

Image

qtxie avatar Jun 20 '25 02:06 qtxie

需要在powershell中执行, 你的vscode 的default terminal不是powershell

jimwei avatar Jun 20 '25 02:06 jimwei

use powershell -Command "irm https://cli.moonbitlang.com/install/powershell.ps1 | iex" instead

psyche314 avatar Jul 19 '25 10:07 psyche314