Set the version in the engines field in the package.json file that was created in your functions/ directory during initialization. For example, to use only version 10, edit this line in package.json:
Example: firebase deploy only specific functions
firebase deploy --only functions:function1Name,functions:function2Name