Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpg-cli command wont work even if its in path #152

Open
nxptunx opened this issue Feb 5, 2025 · 4 comments
Open

rpg-cli command wont work even if its in path #152

nxptunx opened this issue Feb 5, 2025 · 4 comments

Comments

@nxptunx
Copy link

nxptunx commented Feb 5, 2025

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

@facundoolano
Copy link
Owner

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.

@nxptunx
Copy link
Author

nxptunx commented Feb 7, 2025

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

@facundoolano
Copy link
Owner

What happens if you run

cd ~ && whereis rpg-cli

@nxptunx
Copy link
Author

nxptunx commented Feb 8, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants