storacha-network / w3cli

💾 w3 command line interface
Other
30 stars 7 forks source link

fix: update notification includes -g flag for cli #150

Closed olizilla closed 8 months ago

olizilla commented 8 months ago

The update notifier now specifies the global flag in the npm install advice as this is a cli.

   ╭────────────────────────────────────────────────╮
   │                                                │
   │        Update available 7.0.0 → 7.0.3          │
   │   Run npm i -g @web3-storage/w3cli to update   │
   │                                                │
   ╰────────────────────────────────────────────────╯

before this change, it would encourage you to do a local install which is probably not what you want

License: MIT