1-Do you have the .NET SDK installed on your Mac?
2-Do you have an existing .NET project, or do you need to create one?
3-What error message are you seeing when running dotnet add package?
4-Are you using Visual Studio for Mac, JetBrains Rider, or just the terminal?
5-Are you behind a proxy or firewall that might block access to NuGet?