Commands in / usr/local/bin are not recognized by iterm2

either zsh or bash,terminal.app can find commands in / usr/local/bin , such as npm . But after switching to iterm2, the commands in / usr/local/bin are not recognized, but other commands can be found.
if you want any configuration in my computer, please leave a message and I will try my best to cooperate.

Mar.28,2021

echo $PATH after that, it is found that there is no / usr/local/bin , so you need to add the following

to ~ / .zshrc
$ vim ~/.zshrc

add / usr/local/bin
to export PATH=xxx , thank you @ learnmeahskell

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e427ed-449af.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e427ed-449af.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?