Yes, sam can be used on the command line with ssam [1]. It's specific to plan9port [2]. In the original Plan 9, ssam wasn't included because Rob Pike didn't want to give up the X command that handles multiple files [3]:
I find the X command extremely powerful, and can't see any way to
have a streaming implementation that will look at multiple files
simultaneously.
> Is there a port to Apple silicon?
plan9port works on it. It compiled without any errors on my Apple Silicon Mac.