electronize is not fount in macOS #294

Closed
opened 2026-01-29 16:35:54 +00:00 by claunia · 5 comments
Owner

Originally created by @seanmars on GitHub (Apr 2, 2019).

Originally assigned to: @robertmuehsig on GitHub.

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
Originally created by @seanmars on GitHub (Apr 2, 2019). Originally assigned to: @robertmuehsig on GitHub. 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 ```
Author
Owner

@Lu-Lucifer commented on GitHub (Apr 16, 2019):

I have the same problem.
command not found: electronize

@Lu-Lucifer commented on GitHub (Apr 16, 2019): I have the same problem. command not found: electronize
Author
Owner

@win32nipuh commented on GitHub (May 14, 2019):

May be the same solution as for Windows:
Rename or clone the electronize.exe to be called dotnet-electronize.exe

@win32nipuh commented on GitHub (May 14, 2019): May be the same solution as for Windows: Rename or clone the electronize.exe to be called dotnet-electronize.exe
Author
Owner

@brianpham93 commented on GitHub (May 23, 2019):

Any update ? I'm facing same issue also

@brianpham93 commented on GitHub (May 23, 2019): Any update ? I'm facing same issue also
Author
Owner

@RockNHawk commented on GitHub (May 23, 2019):

I have the same issue On MacOS

@RockNHawk commented on GitHub (May 23, 2019): I have the same issue On MacOS
Author
Owner

@netpoetica commented on GitHub (May 28, 2019):

@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.

@netpoetica commented on GitHub (May 28, 2019): @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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#294