Skip to content
Discussion options

You must be logged in to vote

You would use -g when you are going to be using Flowise as a service running on a server. For example, you're putting Flowise on a server or docker container that's going to run your staging or production flows.

If you're doing dev to make changes to Flowise source code, you wouldn't install at all. Clone the repo and run local.

Omitting the -g option on an npm install would install flowise as a dependency in another project (you would need to have that project already set up). So, unless you're making a nodejs project that's going to be extending Flowise, use the -g option so that Flowise is installed globally and can be started as a system service on your server. Hope that helps.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by HenryHengZJ
Comment options

You must be logged in to vote
1 reply
@HenryHengZJ
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants