# How to add UE plugin search paths via env vars?

**URL:** <https://forums.unrealengine.com/t/how-to-add-ue-plugin-search-paths-via-env-vars/477095>\
**Category:** Plugins\
**Tags:** Environment, ue4-editor, unreal-engine, search, Plugins, question\
**Created:** [January 11, 2021, 5:54pm UTC](https://forums.unrealengine.com/t/how-to-add-ue-plugin-search-paths-via-env-vars/477095 "2021-01-11T17:54:51Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Olivier\_Argt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Olivier\_Argt](https://forums.unrealengine.com/u/Olivier_Argt)\
**Post date:** [March 15, 2022, 1:00am UTC](https://forums.unrealengine.com/t/how-to-add-ue-plugin-search-paths-via-env-vars/477095/5 "2022-03-15T01:00:49Z")

</div>

Hi,

I don’t know if it can help you but i have found something in cpp UE editor code.  
You can choose wich plugin will be launch with unreal using -PLUGIN="" engine parameter.  
And you can use many -PLUGIN parameter in the command.

I don’t know if you are using rez, but with this, you can create a custom environment variable and generate -PLUGIN for each path in this custom env.

I created an example to work with rez, i share it if it can help you : [here](https://github.com/OlivierArgentieri-rezpackages/Rez-For-Unreal-Engine-Plugins)

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-add-ue-plugin-search-paths-via-env-vars/477095)._
