to install vscode just click the download link
Then install the Maui extension (it includes c# support)
https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-maui
you also need to install dotnet and the Maui workload.
https://dotnet.microsoft.com/en-us/download
% dotnet workload install maui
if you haven’t already to build and debug you need to install Xcode
Vscode is not an ide and will not give as much support as visual studio. you may want to look at jetbrains rider which is a full ide for Maui development.
https://www.jetbrains.com/rider/
note: when MS dropped support for vs for Mac, I dropped Maui and switched to Xcode swift/swiftui