Skip to content

ux: npm global install gives no first-run guidance — 'supermodel' command is not in a project context #159

@greynewell

Description

@greynewell

Problem

Users who install via npm install -g @supermodeltools/cli get the binary but no post-install prompt. Unlike install.sh (which runs the wizard), the npm postinstall script doesn't guide the user to run supermodel in their project.

When the user eventually types supermodel from a random directory (not a project root), the wizard or watch runs against the wrong cwd — same issue as #158 but triggered by the user, not the installer.

Current npm postinstall behaviour

npm install -g @supermodeltools/cli
# installs binary, prints nothing

Expected

After install, print:

supermodel installed. Run 'supermodel' inside your project directory to get started.

Action

  • Add a postinstall script to npm/package.json that echoes the getting-started message
  • Do NOT run the wizard from postinstall — let the user invoke it from their project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions