Cant find package manager console in visual studio for mac

Warning:

A commenter reports this extension crashes VS Community 2019 for Mac version 8.5 (Build 3183). I haven't upgraded to it, so I can't speak to this. Anyone with information/fix/alternate approach, please chime in down in the comments.

OK:

At least in Visual Studio Community 8.4.8 build 2, you can find it under Visual Studio-->Extensions, using search term "nuget":

enter image description here

It took me so long to find this I hope it helps someone else find it faster!


You can follow the NuGet CLI reference and install it https://docs.microsoft.com/en-us/nuget/tools/nuget-exe-cli-reference

An excerpt from that link provided reads:

macOS/Linux

Behaviors may vary slightly by OS distribution.

  1. Install Mono 4.4.2 or later.

  2. Execute the following commands at a shell prompt:

    # Download the latest stable `nuget.exe` to `/usr/local/bin`
    sudo curl -o /usr/local/bin/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
    # Give the file permissions to execute
    sudo chmod 755 /usr/local/bin/nuget.exe 
    
  3. Create an alias by adding the following script to the appropriate file for your OS (typically ~/.bash_aliases or ~/.bash_profile):

    # Create as alias for nuget
    alias nuget="mono /usr/local/bin/nuget.exe" 
    
  4. Reload the shell. Test the installation by entering nuget with no parameters. NuGet CLI help should display.