[Bug] DocFx: Command not found on MacOS Sonoma #9498
Replies: 4 comments
-
Is it a transient issue? I tried the command on Intel Mac Sonoma 14.1.1 but failed to repro. |
Beta Was this translation helpful? Give feedback.
-
I hava same issue.
Context (please complete the following information):
I can't find the docfx path to set it in the zsh environment. |
Beta Was this translation helpful? Give feedback.
-
It seems to be caused by problems with the .NET SDK Installer for mac.
It'll be resolved by adding |
Beta Was this translation helpful? Give feedback.
-
This issue ate some hours of my time. Hope others find this use-ful. Thanks to @filzrev for the direction. DocFx Installation
dotnet tool update -g docfx In zsh shell, type below export PATH="$HOME/.dotnet/tools:$PATH"
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I installed DocFx in the terminal, but attempting to build a project after install DocFx results in
zsh: command not found: docfx
. Runningdotnet tool update -g docfx
results in the following output:To Reproduce
Steps to reproduce the behavior:
dotnet tool update -g docfx
docfx docfx.json --serve
Expected behavior
The solution builds.
Context (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions