Bacancy Technology
Bacancy Technology represents the connected world, offering innovative and customer-centric information technology experiences, enabling Enterprises, Associates and the Society to Rise™.
12+
Countries where we have happy customers
1050+
Agile enabled employees
06
World wide offices
12+
Years of Experience
05
Agile Coaches
14
Certified Scrum Masters
1000+
Clients projects
1458
Happy customers
Artificial Intelligence
Machine Learning
Salesforce
Microsoft
SAP
September 29, 2023
1. First, check the prerequisites for your MacOS version with your .NET SDK version from the below link: Microsoft
2. Now you have to locate dotnet.exe. It may be in one of the below paths:
/usr/local/share/dotnet/dotnet
OR
/usr/local/share/dotnet/x64/dotnet ( for newer versions)
3. After locating dotnet.exe, you have to create a new symbolic link to create a new shortcut link to that dotnet.exe file in the usr/local/bin folder. For that, you can run the below command in the terminal:
ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/
OR
ln -s /usr/local/share/dotnet/x64/dotnet /usr/local/bin/
Select the command as per your dotnet.exe location.
4. If you find this error “/usr/local/bin//dotnet: File exists” that means the symbolic link is already there but it might be broken. For that you have to delete that from /usr/local/bin/.