Hope you are doing great.
Please have a look on the below soltion for your reference.
While specifying path, please mention full path of the HIVE_HOME instead of specifying $HIVE_HOME
Please refer below command
Please try and let us know if you have any other issue so we can help you out.