# TeXmacs cannot be invoked after setting TEXMACS_HOME_PATH

I suppose I should set TEXMACS_HOME_PATH in environment to use plugins.

But after adding it in env as: C:\Program Files (x86)\TeXmacs, with or without quote"", TeXmacs cannot be invoked.

I’m using windows 10 with TeXmacs 1.99.18. Thanks for your help.

Welcome @gaoy!

The `TEXMACS_HOME_PATH` variable should be set by TeXmacs itself. It will point to a directory where you can put plugins, additional to the ones included in TeXmacs.
You can see what it is set to by opening a TeXmacs document, inserting a Scheme session (Insert→Session→Scheme) and executing

``(getenv "TEXMACS_HOME_PATH")``

Thanks for your help @jeroen !

``````(getenv "TEXMACS_HOME_PATH")
``````

shows this folder as result “C:\Users\gaoy\AppData\Roaming\TeXmacs”. As you said that’s for additional plugins so now I put that aside.

I can successfully insert sessions of scheme/python/SymPy, but not for Graph.
As a prerequisite, I installed Graphviz under “C:\Program Files (x86)\Graphviz2.38”, but seems I need config more.

In file init-graphviz.scm, I see (:require (url-exists-in-path? “dot”)), how can I config “dot” in path? dot.exe is located here:C:\Program Files (x86)\Graphviz2.38\bin
Do I need to config more to use the graphviz plugin?