I am trying to deploy Dynamics Marketing Event Angular Website using Powershell on Mac, I have installed Powershell and Microsoft.Xrm.Data.Powershell properly but when i try to run the script and import the module it gives me this Error: 

Import-Module: Could not load type 'System.Management.Automation.PSSnapIn' from assembly 'System.Management.Automation, Version=7.1.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.