Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zsh: command not found: dotnet (arm) #7170

Closed
ingcrengifo opened this issue Feb 8, 2022 · 5 comments
Closed

zsh: command not found: dotnet (arm) #7170

ingcrengifo opened this issue Feb 8, 2022 · 5 comments
Labels
area-tutorials Issues related to getting started tutorials

Comments

@ingcrengifo
Copy link

ingcrengifo commented Feb 8, 2022

Description

Problem encountered on https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-6.0.101-macos-arm64-installer
Operating System: macOS Monterey

https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-6.0.101-macos-arm64-installer
successful installation
open iterm (zsh) dotnet

zsh: command not found: dotnet

"without rosetta"

@greenEkatherine
Copy link

It looks like an issue with symlink, please try to set it up manually:
ln -s /usr/local/share/dotnet/x64/dotnet /usr/local/bin/
Please let us know if it helps.

@greenEkatherine greenEkatherine added the needs-more-info Not enough information has been provided. Please share more detail as requested. label Feb 9, 2022
@mairaw mairaw added the area-tutorials Issues related to getting started tutorials label Feb 9, 2022
@ingcrengifo
Copy link
Author

@greenEkatherine I solved it doing what do you say

sudo ln -s /usr/local/share/dotnet/dotnet /usr/local/bin

It's strange, will I have that error if I update at some point?

@no-response no-response bot removed the needs-more-info Not enough information has been provided. Please share more detail as requested. label Feb 10, 2022
@greenEkatherine
Copy link

It's strange, will I have that error if I update at some point?

I'm not sure, might it change the path? Maybe only if /x64/ will add.

@ingcrengifo
Copy link
Author

x64 does not exist, since I have installed the version for arm (mac m1)

@greenEkatherine
Copy link

x64 does not exist, since I have installed the version for arm (mac m1)

Ah, sorry, got it. I don't know then, you may ask in the thread dotnet/sdk#22910. I'm closing this issue as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-tutorials Issues related to getting started tutorials
Projects
None yet
Development

No branches or pull requests

3 participants