How to fix: hermes: command not found

hermes: command not found almost always means your shell hasn't reloaded PATH: run source ~/.bashrc or source ~/.zshrc, or open a new terminal. The installer adds ~/.local/bin to PATH.

Who this is for:Anyone whose first hermes command fails right after installation.

Steps

  1. Reload your shell config

    bash users load .bashrc; zsh users (macOS default) load .zshrc.

    source ~/.bashrc
    # or
    source ~/.zshrc
  2. Or open a new terminal window

    A fresh window picks up the updated PATH.

  3. Still failing? Check PATH

    The installer places the binary in ~/.local/bin; make sure it is on PATH.

    echo $PATH | tr ':' '\n' | grep local
  4. Full diagnostics

    hermes doctor

How to verify

FAQ

I use fish or another shell?

Official FAQ: Hermes sources ~/.bashrc by default; add your init files in config.yaml under terminal.shell_init_files.

Tools from nvm/pyenv also missing?

Add their init scripts (e.g. ~/.nvm/nvm.sh) to terminal.shell_init_files in config.yaml.

Related pages