[GH-ISSUE #190] mkcert with zsh #119

Closed
opened 2026-02-25 22:32:39 +03:00 by kerem · 2 comments
Owner

Originally created by @electricarts on GitHub (Aug 16, 2019).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/190

Hi,

sorry for the probably stupid question, but I'm more of a pixel pusher than a terminal guy. I switched from bash to zsh under Mac OS X (10.14.6). I copied everything from .bash_profile and .bashrc into .zshrc. Now I get the error message zsh: command not found: mkcert when calling mkcert. I set the terminal back to bash and everything works. What am I doing wrong?

Mario

Originally created by @electricarts on GitHub (Aug 16, 2019). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/190 Hi, sorry for the probably stupid question, but I'm more of a pixel pusher than a terminal guy. I switched from bash to zsh under Mac OS X (10.14.6). I copied everything from .bash_profile and .bashrc into .zshrc. Now I get the error message zsh: command not found: mkcert when calling mkcert. I set the terminal back to bash and everything works. What am I doing wrong? Mario
kerem 2026-02-25 22:32:39 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@electricarts commented on GitHub (Aug 16, 2019):

Found it. The problem are the paths of the homebrew installation.

If you come from bash you might have to change your $PATH. This must be in .zshrc:

export PATH=$HOME/bin:/usr/local/bin:$PATH

Maybe it helps others.

<!-- gh-comment-id:521978512 --> @electricarts commented on GitHub (Aug 16, 2019): Found it. The problem are the paths of the homebrew installation. If you come from bash you might have to change your $PATH. This must be in .zshrc: `export PATH=$HOME/bin:/usr/local/bin:$PATH` Maybe it helps others.
Author
Owner

@FiloSottile commented on GitHub (Aug 16, 2019):

Yep, depending how you installed it, you'll have to make sure the shell PATH includes the binary directory!

<!-- gh-comment-id:522117122 --> @FiloSottile commented on GitHub (Aug 16, 2019): Yep, depending how you installed it, you'll have to make sure the shell PATH includes the binary directory!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#119
No description provided.