title: VSCode on M1 Mac wont run "dotnet ef" command in Terminal
body: <p>I am not sure if EFCore is supposed to work for M1 Mac being in 6.0.0 preview version. I was doing a udemy course and came to a stop where I was not able to run &quot;dotnet ef&quot; command in Terminal to do migrations.</p>
  <pre><code>me@my-MBP-2 dotnet-rpg % dotnet tool update --global dotnet-ef 
  Tool 'dotnet-ef' was reinstalled with the latest stable version (version '5.0.8').
  
  me@my-MBP-2 dotnet-rpg % dotnet ef -h    
  me@my-MBP-2 dotnet-rpg % 
  </code></pre>
  <p>I tried to update all the EFCore packages to 6.0.0 version thinking that my resolve but still no go.</p>
  <p>Here's my .csproj file.</p>
  <pre><code>&lt;Project Sdk=&quot;Microsoft.NET.Sdk.Web&quot;&gt;
  
   &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;net6.0&lt;/TargetFramework&gt;
      &lt;RootNamespace&gt;dotnet_rpg&lt;/RootNamespace&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;PackageReference Include=&quot;AutoMapper.Extensions.Microsoft.DependencyInjection&quot; Version=&quot;8.1.1&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.AspNetCore.Authentication.JwtBearer&quot; Version=&quot;5.0.8&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.AspNetCore.Authentication.OpenIdConnect&quot; Version=&quot;5.0.8&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.EntityFrameworkCore&quot; Version=&quot;6.0.0-preview.6.21352.1&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.EntityFrameworkCore.Design&quot; Version=&quot;6.0.0-preview.6.21352.1&quot;&gt;
        &lt;IncludeAssets&gt;runtime; build; native; contentfiles; analyzers; buildtransitive&lt;/IncludeAssets&gt;
        &lt;PrivateAssets&gt;all&lt;/PrivateAssets&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include=&quot;Microsoft.EntityFrameworkCore.SqlServer&quot; Version=&quot;6.0.0-preview.6.21352.1&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.EntityFrameworkCore.Tools&quot; Version=&quot;6.0.0-preview.6.21352.1&quot;&gt;
        &lt;IncludeAssets&gt;runtime; build; native; contentfiles; analyzers; buildtransitive&lt;/IncludeAssets&gt;
        &lt;PrivateAssets&gt;all&lt;/PrivateAssets&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include=&quot;Swashbuckle.AspNetCore&quot; Version=&quot;6.1.4&quot; /&gt;
    &lt;/ItemGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>
  <p>Can you suggest if I am doing something wrong ?</p>