pokeemerald
pokeemerald copied to clipboard
errata regarding nproc on macOS
Like most Linux comforts, the nproc shell comamnd is provided by GNU coreutils, which is available for installation via Homebrew. This should be noted in addition to the sysctl -n hw.ncpu method provided by Darwin itself.
nproc 2>/dev/null || echo 8 would solve the issue for those that don't have it installed.