/usr/local/bin is not included in the PATH environment
解决方案
vi ~/.bashrc
export PATH="/usr/local/bin:/usr/bin:/bin" source ~/.bashrc
echo 'export PATH="/usr/local/bin:/usr/bin:/bin"' >> ~/.bashrc source ~/.bashrc