I tried to install lunarvim from my bash using the installation command given in the official website,but it is not working and not giving any response
Use the AUR:
yay lunarvim
Undo whatever it is you did manually according to the official website first, there is an uninstall script.
bash ~/.local/share/lunarvim/lvim/utils/installer/uninstall.sh
or:
bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/uninstall.sh)
I see there is a lunarvim-git version in the AUR, which is ok.