Skip to content

question: squad upgrade CLI not working #597

Closed

Description

@colinwilliams91

Context

  • i have squad globally installed via npm
  • when i run squad --version in my D: root i see: 0.8.25
  • i run squad upgrade and i see the following:
✗ No squad found — run init first.
  • if i navigate into a repo with an active squad and run the following: squad --version
  • i see 0.8.25
  • if i run squad upgrade i see:
Already up to date (v0.8.25)
✓ upgraded squad workflows (11 files)
✓ upgraded squad.agent.md

Assumption

  1. i don't see anything in my package.json or node_modules about squad
  2. so squad upgrade should work on my global installation (cwd agnostic) esp. if squad --version returns a version here.
  3. seeing a version globally but requiring a squad init before being able to upgrade versions is a little confusing
  4. seeing a version locally (inside repo with squad init already) but then running squad upgrade and not finding the latest version to install seems like a bug.

AC

  • I just want to update my global installation of squad to the latest version 🫠
    • Maybe there should be a command to pull down the latest version? if not maybe we could align the installation documentation to specificy the npm install -g @bradygaster/squad-cli@latest requirement (see below)

References (Docs)

console.error('   Switch to: npm install -g @bradygaster/squad-cli');
console.error('   Or use:    npx @bradygaster/squad-cli');

Activity

  1. colinwilliams91 commented on Mar 24, 2026

    @colinwilliams91
    Author

    Actually, the only valuable piece of information in this ticket are the docs links above in my issue description (## References (docs))

    Once I realized I needed to re-install the global package from npm and was updated to 9.x.x it appears that the source code handles explicitly instructing the user to update via npm with a combination of this function: notifyIfUpdateAvailable in self-update.ts L:94 and control flow inside the CLI in a banner.

    So, I don't really think anything needs to be done here. I suppose docs could be updated so I'll leave the ticket open for a little bit.

  2. bradygaster commented on Mar 26, 2026

    @bradygaster
    Collaborator

    Thanks so much for the thorough bug report, @colinwilliams91! Your detective work on the docs references was really helpful.

    We've confirmed your findings:

    • 0.9.x works as expected: The
      otifyIfUpdateAvailable\ banner in \self-update.ts\ already handles upgrade hints correctly (with @latest)
    • We closed a gap: Updated \cli.js\ deprecation warning and \packages/squad-cli/README.md\ to include @latest\ for consistency
    • Docs cleanup ahead: We noticed some older blog posts and scenario pages still have bare install commands. We'll normalize those as part of ongoing docs maintenance

    Thanks again for catching this and helping us improve the experience! 🙌

  3. added 2 commits that reference this issue on Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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