An example of .NET 6 CoreCLR hosting a .NET 6 MonoVM and running a sample application.
You will need a .NET 6 SDK
$ pushd InnerApp
$ dotnet publish --self-contained -r <RID>
$ popd
$ pushd SampleHost
$ dotnet run -- ../InnerApp/bin/Debug/net6.0/<RID>
Setting up resolver for monosgen-2.0 => ../InnerApp/bin/Debug/net6.0/osx-x64/libcoreclr.dylib
Mono started
Hello World from Mono!
Sample run complete
$ popd