Installing .NET 6 on your M1 Mac (manually)

cd ~/Downloads
sudo chmod +x
sudo ./
dotnet uninstall
where dotnet
Download the tar.gz file

Installing .NET 6 to /usr/local/share/dotnet

contents of the .NET 6 tar.gz extraction
cd <net-6 directory>
cp -a . /usr/local/share/dotnet
copy all files to /usr/local/share/dotnet

Whitelisting all files from /usr/local/share/dotnet from Apple Quarantine

Malicious software check
find . -type f -print0 | xargs -0 xattr -d
unquarantine all files
cd /usr/local/bin
ln -s /usr/local/share/dotnet/dotnet dotnet
symlink to dotnet


using System;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
namespace ziskindtest
class Program
static void Main(string[] args)
for (int i = 0; i < 100_000_000; i++)
Console.WriteLine("All done MBA on .NET6");
private static void Consume<T>(in T _) { }
The Ziskin-test results on .NET 6

Removing the manually installed dotnet 6 Alpha

rm -rf /usr/local/share/dotnet
rm /usr/local/bin/dotnet



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store