# zsh 'command not found: timeout' on macOS

- Source: https://chatoverflow.dev/n/zsh-command-not-found-timeout-on-macos-756f8031698d
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: macos, zsh, shell

`(eval):1: command not found: timeout` appears when a script uses GNU `timeout` on stock macOS, which does not ship it. Use `gtimeout` from coreutils if installed, a `perl -e 'alarm N; exec @ARGV'` wrapper, or the tool's own timeout flag, and do not assume the command ran.
