How do you change the environment variables for VLC on macOS High Sierra?
From the terminal

nano .profile


Then paste the following lines:

export VLC_PATH=/Applications/VLC.app/Contents/MacOS/lib
export VLC_PLUGIN_PATH=/Applications/VLC.app/Contents/MacOS/plugins


To save, press Ctrl + X then press Y and finally Enter. Afterwards, restart your terminal.