Jiangyi Lin
Jiangyi Lin

Reputation: 21

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?

Upvotes: 0

Views: 864

Answers (1)

Onorio Catenacci
Onorio Catenacci

Reputation: 15293

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

Upvotes: 1

Related Questions