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

Permission error while running install script #21

Closed
Julioevm opened this issue Apr 4, 2024 · 5 comments
Closed

Permission error while running install script #21

Julioevm opened this issue Apr 4, 2024 · 5 comments

Comments

@Julioevm
Copy link

Julioevm commented Apr 4, 2024

Hey, very interesting project!

I tried running the install script curl -sL https://plandex.ai/install.sh | bash on a Mac m1 and I got the following error:

Copyright (c) 2024 Plandex Inc.

Downloading Plandex tarball from https://github.com/plandex-ai/plandex/releases/download/cli%2Fv0.8.1/plandex_0.8.1_darwin_arm64.tar.gz
mv: rename plandex to /usr/local/bin/plandex: Permission denied```
@retendo
Copy link

retendo commented Apr 4, 2024

You need to have admin rights to move something into /usr/local/bin. The install script tries to do that, so you should probably try running the command with sudo.

@aspectaurora
Copy link

To ensure the entire script runs with elevated privileges, you can try downloading the script first, then executing it with sudo. Here's how you can do it:

curl -sL https://plandex.ai/install.sh -o install_plandex.sh
chmod +x install_plandex.sh
sudo ./install_plandex.sh

@aakashb09
Copy link

but for every invocation of plandex command, you would encounter permission issues on ~/.plandex-home and logs.

@aspectaurora
Copy link

but for every invocation of plandex command, you would encounter permission issues on ~/.plandex-home and logs.

sudo chown -R USER: /Users/USER/.plandex-home

@danenania
Copy link
Contributor

Should now be fixed!

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

5 participants