cloudinary / cloudinary-cli

A command line interface for Cloudinary's APIs
https://cloudinary.com/documentation/cloudinary_cli
MIT License
17 stars 10 forks source link

cld command not found on Mac M1 (zsh) #58

Closed LouisSayers closed 12 months ago

LouisSayers commented 2 years ago

Describe the bug in a sentence or two.

Installation instructions don't produce a cld command on Mac M1 running zsh shell.

pip3 successfully installs cloudinary and cloudinary-cli packages, however running cld produces "zsh: command not found: cld" message.

Issue Type (Can be multiple)

Steps to reproduce

Follow README installation instructions on Mac M1 (Mac OS Monterey).

Fix

I discovered that the issues is due to /Users/me/Library/Python/3.8/bin not being in my $PATH.

Simply adding PATH="/Users/me/Library/Python/3.8/bin:$PATH" to my ~/.zshrc file fixed the issue.

It might be worth adding a note in the README as I'm sure I won't be the only one to stumble on this.

dannyv-cloudinary commented 2 years ago

Hi Louis.

Thank you for raising this with us. As you'll see above, I have submitted a PR to get this addressed in our docs.

Thanks, -Danny

mhsueh-xealth commented 2 years ago

That worked for me !

2KAbhishek commented 12 months ago

@dannyv-cloudinary if this is already fixed can you please add a link here and close this issue.

const-cloudinary commented 12 months ago

Fixed in #59