Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Proper way to install on Mac? #681

Closed
IgorKrupenja opened this issue Jul 3, 2018 · 5 comments
Closed

[Question] Proper way to install on Mac? #681

IgorKrupenja opened this issue Jul 3, 2018 · 5 comments

Comments

@IgorKrupenja
Copy link

What is a proper way to install mermaid on a Mac?

I have node installed from brew.
If I try to npm install -g mermaid, installation seems to complete successfully:

+ mermaid@8.0.0-rc.8
added 44 packages from 17 contributors in 3.35s

However, when I try to run mermaid I get bash: mermaid: command not found. Same story with zsh shell. No problems with other npm packages. Any ideas?

macOS is 10.13.5, node is v10.5.0, npm is 6.1.0.

@IgorKrupenja
Copy link
Author

Ok, figured out that I also need to install mermaid.cli and actually run mmdc. Closing

@t-power89
Copy link

Hi there, how do you install meramaid.cli ?

@yatendragoel
Copy link

Hi there, how do you install meramaid.cli ?

npm install -g mermaid.cli

@yusubond
Copy link

Get, thanks a lot

@mhucka
Copy link

mhucka commented May 15, 2023

I know this issue is closed. For anyone coming here from a Google search, beware that the approach noted above (npm install -g mermaid.cli) is no longer current. As of 2022-2023, use the following to install mermaid-cli:

npm install @mermaid-js/mermaid-cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants