Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

izzy: command not found

Add ~/.dotnet/tools to your PATH and open a new terminal, or run the app's own copy of izzy with dotnet izzy.

Problem

dotnet tool install -g IzzyBlazor.Cli --prerelease says the tool was installed, but the next command fails:

bash
zsh: command not found: izzy

On Windows the message is "'izzy' is not recognized as an internal or external command".

Cause

.NET installs global tools in ~/.dotnet/tools (%USERPROFILE%\.dotnet\tools on Windows). Microsoft's installer adds that folder to your PATH. A .NET installed with Homebrew or with the install script doesn't, and neither does a shell that hasn't been restarted since the install. izzy is there, and the terminal doesn't look there. A .NET tool can't change your PATH when it's installed.

Fix

Add the folder to your PATH, then open a new terminal.

zsh, the default on macOS

bash
echo 'export PATH="$PATH:$HOME/.dotnet/tools"' >> ~/.zprofile

bash

bash
echo 'export PATH="$PATH:$HOME/.dotnet/tools"' >> ~/.bash_profile

Windows

Open a new terminal: the installer's PATH change applies to terminals opened after it. If izzy still isn't found, add %USERPROFILE%\.dotnet\tools to your user PATH in Settings, under "Edit environment variables for your account".

To check, run izzy --version in the new terminal.

Without changing your PATH

An app that izzy created or set up has its own copy of izzy, pinned in .config/dotnet-tools.json to the version of its IzzyBlazor package. In the app's folder:

bash
dotnet tool restore
dotnet izzy --version

dotnet finds the app's izzy from the manifest, so the PATH doesn't matter. To run the global install once without changing anything, give its full path: ~/.dotnet/tools/izzy init. The CLI overview describes both ways to run izzy.

Connection lost

Rejoining the server…