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

Executable for Mac not available / documented #89

Open
nishant-vashisth opened this issue Mar 28, 2022 · 1 comment
Open

Executable for Mac not available / documented #89

nishant-vashisth opened this issue Mar 28, 2022 · 1 comment

Comments

@nishant-vashisth
Copy link

I'm trying to use this with a mac, and after installing it from brew

brew install graphviz

When I try to execute the How To Command, I get executable not found

Export-AzViz -ResourceGroup demo-2 -Theme light -OutputFormat png -Show
-bash: Export-AzViz: command not found

The documentation unfortunately doesn't point to if the executable is different in case of Mac installation.

P.S. While this is a powershell module, I'm presuming that Mac is supported since mac installation command was provided.

@moiaune
Copy link
Contributor

moiaune commented Apr 5, 2022

According to your error message you are trying to run Export-AzViz command from bash. You must run it from within pwsh on a Mac.

If you have pwsh installed on your mac you can just type pwsh into the terminal to start a Powershell session. And from there you can run Export-AzViz.

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

2 participants