divyanshu
I assume you are using the command brave to try run brave from the terminal. That is not the name of the binary, it is brave-browser
Same issue with vscode that is not the binary name. We have the open source version of vscode instead of the proprietary version microsoft builds that is distributed under a different license. The binary name of the opensource builds is code-oss
If you wish you can set a bash alias by adding the line alias vscode="code-oss" to your ~/.bashrc and run source ~/.bashrc from the terminal. After that from now on running vscode from the terminal will launch code-oss