I install the cli tool with dotnet tool install ElectronNET.CLI -g in macOS, but the command electronize is not found. But it's worked on Windows.
> dotnet tool list -g
Package Id Version Commands
------------------------------------------------------------------------------
dotnet-aspnet-codegenerator 2.2.2 dotnet-aspnet-codegenerator
electronnet.cli 0.0.11 electronize
microsoft.web.librarymanager.cli 1.0.172 libman
I have the same problem.
command not found: electronize
May be the same solution as for Windows:
Rename or clone the electronize.exe to be called dotnet-electronize.exe
Any update ? I'm facing same issue also
I have the same issue On MacOS
@seanmars @LuciferJun1227 @phamquocthang @RockNHawk You must add dotnet tools to your $PATH. Most likely, you are using Bash, so you will have a ~/.bashrc or ~/.bash_profile that gets loaded in your terminal.
In your file, you must add
# .NET
# For tools installed with `dotnet tool` command
export PATH="$HOME/.dotnet/tools:$PATH"
and then you must either source that file (eg source ~/.bash_profile) or create a new terminal window/tab.
I have added this to the bottom of my .zshrc, as I am using zshell instead of bash.
Most helpful comment
@seanmars @LuciferJun1227 @phamquocthang @RockNHawk You must add dotnet tools to your $PATH. Most likely, you are using Bash, so you will have a ~/.bashrc or ~/.bash_profile that gets loaded in your terminal.
In your file, you must add
and then you must either
sourcethat file (egsource ~/.bash_profile) or create a new terminal window/tab.I have added this to the bottom of my .zshrc, as I am using zshell instead of bash.