-
nano ~/.bashrc
-
Add this line at the end of the file:
export PATH=$PATH:/home/shubham/code
-
Save and close the file. (For nano, press Ctrl+O, then Enter, and Ctrl+X.)
-
Reload the shell configuration:
source ~/.bashrc
- Navigate to the directory where your CLI executable
cd /home/shubham/code
- Use the chmod command to make the file executable:
chmod +x templ8.exe
- Now try running the CLI again:
templ8.exe --help