For Ubuntu
$ sudo apt install unzip
$ curl -fsSL https://fnm.vercel.app/install | bash
$ source /home/openharmony/.bashrc
# 查询 node 版本
$ fnm list-remote
# 增加 node-dist-mirror 加速下载
$ fnm install v12.12.0 --node-dist-mirror http://npm.taobao.org/mirrors/node/
$ npm install -g @ohos/hpm-cli --registry=https://registry.npmmirror.com