Have you closed and reopened your terminal? The dotnet tool adds the install location to your PATH but that change doesn't take effect until you start a new session.