a tiny command line app for manipulating environment variables.
If you want to add a variable to your $PATH PERMANENT, maybe this tiny Python3 script is what you are searching for. To make things happen, just make shure that it is executable. (chmod +x addpath)
Installation: Download the Debian package from my releases page and then: sudo dpkg -i addpath_1.0.0_all.deb