Mbed installation issues

Hi
I am a beginner of mbed,
My system is ubuntu 18.04
when I wanna install mbed-cli with pip:" python3 -m pip install mbed-cli"
And then I try to check whether the process was successful in the terminal :mbed --version
The result is :mbed :command not found
why about it ?
Thank you so much!