


When running wolframscript in this way, you can simply enter a line of code and press Enter to see the result.

It also provides an alternative interface for headless servers or embedded computers (for example, a Raspberry Pi). This interactive shell (sometimes referred to as a REPL or read–eval–print loop) is a convenient way to write and run Wolfram Language code without launching the desktop front end. When executed with no options, wolframscript opens a Wolfram Language console interpreter. Once installed, the wolframscript executable can be found in the same folder as your desktop application, and it is added to the PATH so you can call it directly from any command-line interface. You can also download and install a standalone version from the WolframScript home page. WolframScript comes packaged with Version 11.1 of Mathematica on Mac, you must run the Extras installer bundled with the Wolfram System. WolframScript works like any other command-line utility, enabling flexible connections between the Wolfram System and other programs and I/O. Now you can evaluate Wolfram Language code, call deployed APIs and execute standalone scripts directly from your favorite command-line interface. Calling all command-line junkies: the new WolframScript is here!
