2.5 Search paths

In looking for Asymptote files, asy will search the following paths, in the order listed:

  1. The current directory;
  2. A list of one or more directories specified by the configuration variable dir or environment variable ASYMPTOTE_DIR (separated by : under UNIX and ; under MSDOS);
  3. The directory specified by the environment variable ASYMPTOTE_HOME; if this variable is not set, the directory .asy in the user’s home directory (%USERPROFILE%\.asy under MSDOS) is used;
  4. The Asymptote system directory (by default, /usr/local/share/asymptote under UNIX and C:\Program Files\Asymptote under MSDOS).
  5. The Asymptote examples directory (by default, /usr/local/share/doc/asymptote/examples under UNIX and C:\Program Files\Asymptote\examples under MSDOS).