Skip to content

Run tokscale via bunx or npx when no global install works - #6

Merged
stevejkang merged 1 commit into
mainfrom
feat/bunx-npx-fallback
Sep 26, 2026
Merged

stevejkang merged 1 commit into
mainfrom
feat/bunx-npx-fallback

Conversation

@stevejkang

Copy link
Copy Markdown
Owner

Falls back from global tokscale to bunx tokscale@latest, then npx -y tokscale@latest, using the first whose --version succeeds.

Tested: unit tests pass; opencode sidebar loads stats via bunx with no global tokscale installed.

Try global tokscale, then `bunx tokscale@latest`, then
`npx -y tokscale@latest`, picking the first whose `--version` succeeds.
@stevejkang
stevejkang merged commit ca0d4d0 into main Sep 26, 2026
1 check passed
@stevejkang
stevejkang deleted the feat/bunx-npx-fallback branch September 26, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant