# alephclient command not ound

**URL:** <https://aleph.discourse.group/t/alephclient-command-not-ound/144>\
**Category:** Support\
**Tags:** alephclient\
**Created:** [December 16, 2024, 7:42pm UTC](https://aleph.discourse.group/t/alephclient-command-not-ound/144 "2024-12-16T19:42:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrcloutier](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jrcloutier](https://aleph.discourse.group/u/jrcloutier)\
**Post date:** [December 16, 2024, 7:42pm UTC](https://aleph.discourse.group/t/alephclient-command-not-ound/144/1 "2024-12-16T19:42:20Z")

</div>

I’m running a newly created local production deployment and want to upload some databases using alephclient. It looks like alephclient was installed properly (see screenshot) but when I run `alephclient write-entities --infile entities.ftm.json --foreign-id opensanctions-peps`, I get the following error: `zsh: command not found: alephclient`.

I’m running the instance in docker on a Macbook Pro.

 ![Screenshot 2024-12-16 at 2.41.07 PM](https://global.discourse-cdn.com/free1/uploads/alephdata/original/1X/d7b7f516b8384110c8ed4eadd27d4e853cac221f.jpeg)

---

<div class="post-metadata">

**Author:** ![alex](https://yyz2.discourse-cdn.com/free1/user_avatar/aleph.discourse.group/alex/32/8_2.png) [@alex](https://aleph.discourse.group/u/alex)\
**Post date:** [December 17, 2024, 1:56pm UTC](https://aleph.discourse.group/t/alephclient-command-not-ound/144/2 "2024-12-17T13:56:51Z")

</div>

One thing that sometimes happens is that the directory that pip installs packages to isn’t in your path. The first thing I would do is start a new shell.

You can check whether pip “can see” the package: `pip list | grep alephclient `. If all is well, you can try to see where pip installed it: `pip show alephclient`. Make note of what’s listed under `Location`. Then, check your path: `echo $PATH`. If the location isn’t somehow covered by the path, it would be useful to edit your `.zshrc` and add it.

---

<div class="post-metadata">

**Author:** ![jrcloutier](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jrcloutier](https://aleph.discourse.group/u/jrcloutier)\
**Post date:** [December 18, 2024, 6:28pm UTC](https://aleph.discourse.group/t/alephclient-command-not-ound/144/3 "2024-12-18T18:28:42Z")

</div>

Thank you! I appreciate it. That fixed it.
