For Ubuntu

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