virtualbox – ubuntu(64 bit) kali linux virtual machine, directory problem how to add my directory home/dhanunjay/.local/bin to PATH?

enter image description hereplease check screenshoot as I’m providing here I had difficulty with installing tools in my kali linux virtual machine [I installed a knockpy tool in my kali linux virtual machine it is showing my home directory is not added to PATH ? how can I add my directory to PATH ? ]
2
this is the error message showing in my kali linux terminal

“WARNING: The script knockpy is installed in ‘/home/dhanunjay/.local/bin’ which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use –no-warn-script-location.

Read more here: Source link