How to Properly Set JENKINS_JAVA_OPTIONS or -Dhudson.consoleTailKB for Jenkins Installed via Homebrew on macOS

Hello,

I have seen that there are corresponding methods for setting JENKINS_JAVA_OPTIONS or -Dhudson.consoleTailKB on Windows, some Linux distributions, and CentOS.

I have checked the official Jenkins documentation but couldn’t find relevant descriptions.

Is there any way to properly set JENKINS_JAVA_OPTIONS or -Dhudson.consoleTailKB for Jenkins Installed via Homebrew on macOS?

Thanks,
Krisis