https://www.wolfram.com/language/11/systems-level-functionality/run-wolfram-language-code-from-the-command-line-wi.html?product=mathematica
Run Wolfram Language Code from the Command Line with WolframScript: New in Wolfram Language 11
https://www.wolfram.com/wolframscript/index.php.en?source=footer
WolframScript for the Command Line: Execute Wolfram Language Code Anywhere
WolframScript enables Wolfram Language code to be run from any terminal, whether or not a Wolfram kernel is available on the system.
for thecommand linewolfram languagewolframscriptexecute