linux hosting command line php


I updated my server PHP version to 7.0 and I connected to the server via ssh credentials. when I type php -v in the command line interface it is showing me the PHP version is 5.4.5. i want my command line  to use php 7.0.  Is there any way?