rpg-cli icon indicating copy to clipboard operation
rpg-cli copied to clipboard

rpg-cli command wont work even if its in path

Open nxptunx opened this issue 10 months ago • 4 comments

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

nxptunx avatar Feb 05 '25 18:02 nxptunx

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.

facundoolano avatar Feb 05 '25 19:02 facundoolano

i installed it with the command on the readme $ cargo install --git https://github.com/facundoolano/rpg-cli --force --tag 1.2.0

nxptunx avatar Feb 07 '25 22:02 nxptunx

What happens if you run

cd ~ && whereis rpg-cli

facundoolano avatar Feb 07 '25 23:02 facundoolano

┌──(nxptunx㉿nxptunx)-[~] └─$ cd ~ && whereis rpg-cli rpg-cli:

nxptunx avatar Feb 08 '25 11:02 nxptunx