Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

This feature relies on access to Wolfram Cloud.

gives a string indicating the type of local or cloud environment in which the current Wolfram Language evaluation is being performed.


  • Typical values for $EvaluationEnvironment include:
  • "Session"local interactive session
    "RemoteSession"remote interactive session
    "CDF"standalone CDF
    "Script"script run in batch mode
    "Subkernel"parallel or grid subkernel
    "WebEvaluation"direct URL evaluation
    "WebLoad"evaluation when loading a web page
    "WebAPI"API called through an HTTP request
    "WebForm"web form
    "WebServer"web server plugin (e.g. JSP)
    "CloudCDF"Cloud CDF
    "PlugInCDF"CDF web plugin
    "Scheduled"scheduled task
    "WSTP"WSTP call

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

In an interactive session, the evaluation environment is "Session":

Click for copyable input

Evaluation in the cloud gives a different result:

Click for copyable input
Introduced in 2014