pkgsrc, 'the portable package manager', support Apple Silicon:<p><a href="http://pkgsrc.org/" rel="nofollow">http://pkgsrc.org/</a><p>No binary packages yet, but using it from source is pretty much a matter of downloading and extracting the 'current bz2', then:<p><pre><code> cd pkgrsc/bootstrap
./bootstrap --prefix=/opt/pkg
</code></pre>
The default prefix is /usr/pkg, but that's protected by macOS' SPI. You might want to add /opt/pkg/bin and sbin to your $PATH. Then to install a package:<p><pre><code> cd pkgsrc/sysutils/nnn
bmake install clean
</code></pre>
Full documentation, including on how to create your own packages:<p><a href="http://www.netbsd.org/docs/pkgsrc/" rel="nofollow">http://www.netbsd.org/docs/pkgsrc/</a>