I am trying to install dotnet core 2.1.8 for existing OpenAPI specification project. But I'm getting this error
zsh: command not found: dotnet
I have also used sudo ln -s /usr/local/share/dotnet/x64/dotnet /usr/local/bin/ but it didn't work for me.