EdgeTX Companion 2.6 is available for download here (pick the version for your operating system from Assets heading at the bottom of the page - filename will have cpn
as part of the name).
If you intend to use mixer scripts, when updating the firmware on your transmitter you need to make sure the lua
option is checked in the settings for your radio profile (Main menu -> Settings ->Settings...) as shown below. This is not required if you only intend to run telemetry, one-time and function scripts, support for those is included by default.
Also note that the SD Structure path should contain a valid path to a copy of your transmitter's SD card contents, although that's not specific to Lua.