You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you can only use the npm module foragepm as the cli (unless you're running directly from source).
It'd be great to be able to add a foragepm command line that points at the electron app itself so you don't need node installed to use the cli if you have the electron app installed.
The text was updated successfully, but these errors were encountered:
This article has some pointers on how to get the electron app to recognize if it's being ran from the cli. Then the menu bar will need a prompt to install a symlink to the app into the terminal, ipfs-desktop can be an example, adding windows support makes it more complex: https://github.com/ipfs/ipfs-desktop/tree/main/src/ipfs-on-path
I think having a menu option the user can click to get the cli is a reasonable pattern. I kinda prefer to have the cli tool and the app always be at the same version / be holistically in sync. But a prompt that just says "go do npm i -g foragepm" is less work to implement, and may appeal to the kinds of folks who would also be interested in running the cli anyway (at this early stage)
Currently you can only use the npm module
foragepm
as the cli (unless you're running directly from source).It'd be great to be able to add a
foragepm
command line that points at the electron app itself so you don't need node installed to use the cli if you have the electron app installed.The text was updated successfully, but these errors were encountered: