Showing content from http://reference.wolfram.com/language/workflow/RunWolframLanguageCodeFromTheCommandLine.html below:
Run Wolfram Language Code from the Command Line—Wolfram Documentation
WOLFRAM Consulting & Solutions
We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technical expertise
- Data & Computational Intelligence
- Model-Based Design
- Algorithm Development
- Wolfram|Alpha for Business
- Blockchain Technology
- Education Technology
- Quantum Computation
WolframConsulting.com
Run Wolfram Language Code from the Command Line
Use the Wolfram Language in a command-line interface with the WolframScript command-line script interpreter.
With Code in the Command Line...
Run Wolfram Language code directly in a command-line interface with the WolframScript -code option:
With Code from a File...
Create a file of Wolfram Language code:
Run the code in the file:
- Use Print to produce an output from code in a file. The value of the last expression in a file is not returned by default, as in the notebook interface.
- If the code in a file does not explicitly print a result, you can nevertheless cause the last output to be printed with the WolframScript -print option.
With Execution in the Wolfram Cloud...
If you do not have a local installation of the Wolfram System, you can still run Wolfram Language code from the command line in the Wolfram Cloud:
- If you are not already logged into the Wolfram Cloud, the first time you run WolframScript in the cloud, you will be asked to authenticate. Subsequent invocations of WolframScript will not require you to authenticate again.
- If there is no local installation of the Wolfram System, WolframScript will automatically execute in the Wolfram Cloud.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4