Electron.net: electronize is not fount in macOS

Created on 2 Apr 2019  路  5Comments  路  Source: ElectronNET/Electron.NET

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

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

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

All 5 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iqmeta picture iqmeta  路  3Comments

saad749 picture saad749  路  6Comments

zlspjp picture zlspjp  路  5Comments

ThuCommix picture ThuCommix  路  3Comments

Marcelh1983 picture Marcelh1983  路  5Comments