Not able to install uiautomator2

Hello,
I am trying to install uiautomator2 using command Appium driver install uiautomator2. It keeps staying Installing status for the whole day. Below is my environment

Last login: Fri Aug 18 10:43:43 on ttys001

linzha02@16810-lt-x0141 ~ % node -v

v18.17.1

linzha02@16810-lt-x0141 ~ % npm -v

9.6.7

linzha02@16810-lt-x0141 ~ % appium -v

2.0.1

linzha02@16810-lt-x0141 ~ % appium driver list

:heavy_check_mark: Listing available drivers

  • [email protected] [installed (npm)]

  • uiautomator2 [not installed]

  • mac2 [not installed]

  • espresso [not installed]

  • safari [not installed]

  • gecko [not installed]

  • chromium [not installed]

linzha02@16810-lt-x0141 ~ % appium driver install uiautomator2

⠦ Installing ‘uiautomator2’ using NPM install spec ‘appium-uiautomator2-driver’