rpg-cli command wont work even if its in path
it works when im in ~/.cargo/bin direction but it wont work once i quit.and yes the directory is in the path.when i type rpg into terminal it shows that this command exists but it says...
┌──(nxptunx㉿nxptunx)-[~] └─$ rpg rpg-cli: command not found rpg-cli: command not found
How did you install and set up?
It sounds like you have rpg in your path, which I presume is the wrapper command you wrote, but not rpg-cli, which is the binary installed by cargo. You'd need both in your path to make it work.
i installed it with the command on the readme $ cargo install --git https://github.com/facundoolano/rpg-cli --force --tag 1.2.0
What happens if you run
cd ~ && whereis rpg-cli
┌──(nxptunx㉿nxptunx)-[~] └─$ cd ~ && whereis rpg-cli rpg-cli: