# Installation and configuration

## Environmental variables

### RAYPATH

### The EMPATH

EMPATH is an environmental variable that keeps the Standard Scripts; that is, lua scripts that are meant to be used on a daily basis. Setting the empath is as simple as:

```
# On Linux and macOS

export EMPATH=/some/directory/where/scripts/are/stored
```

```
# On windows
set EMPATH /some/directory/where/scripts/are/stored
```

This allows, for example, checking the information within a model by doing:

```
emp model getinfo # Note that the .lua is not strictly needed.
```

and the information regarding the number of layers, components, materials, views, workplanes and more will be written to the standard output.

## Checking that it works

By running

```
emp
```

you should see the Usage message

```
emp {--help|-h}        : prints this message
emp {--version|-v}        : prints version
emp {--about|-a}        : prints about
emp --checkpath        : prints the EMPATH variable
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://groundhoglighting.gitbook.io/emp-doc/configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
