how do i add /snap/bin to PATH on Kali Linux

Viewed 22

I installed Brave browser using snap. Snap version below:

snap    2.57.1
snapd   2.57.1
series  16
kali    2022.3
kernel  5.18.0-kali5-amd64

After installation, Brave does not show up on Applications section. I try to run it through $ brave in terminal window and get the following error:

Command 'brave' is available in '/snap/bin/brave'
The command could not be located because '/snap/bin' is not included in the PATH environment variable.
brave: command not found

Running export PATH=$PATH:/snap/bin

corrects the error temporarily but as soon as i close terminal window, brave browser crashes.

I need help to correct the error.

0 Answers
Related