简体   繁体   中英

How to use mix script of elixir on Windows?

My elixir version is Elixir 1.5.2 with OTP 20 on Windows 10. Everytime to run mix on PowerShell, I must first run command

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

Or it will tell me Program Files\\Elixir\\bin\\mix.ps1 cannot load because there is no digital sign.

Is there any better way instead of change ExecutionPolicy every time?

I am not sure how mix.ps1 got on your machine but either rename it or delete it. You want to run mix.bat

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM