Install the neon CLI during init, not the retired neonctl alias - #432
Merged
Conversation
`neon init` was still probing, version-checking, and installing the old `neonctl` package. Switch it to `neon`: version detection tries `neon` first (and keeps `neonctl` as a fallback so an existing global install still counts as installed), the update check reads `npm view neon`, and the auth and context-resolution calls shell out to `neon`. Co-authored-by: Isaac
philip
force-pushed
the
fix/init-install-neon-not-neonctl
branch
from
August 14, 2026 12:59
d5c6bda to
a5ab08d
Compare
andrelandgraf
approved these changes
Aug 14, 2026
This was referenced Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
neon initwas still probing for, version-checking, and installing the oldneonctlpackage. This switches it to the currentneonCLI:neonfirst and keepsneonctlas a fallback, so an existing globalneonctlinstall still counts as installed and isn't reinstalled.npm view neon.neonandneonctlmodule paths.neon me) and DATABASE_URL context resolution shell out toneon.The command strings emitted to users and agents already said
neon; this aligns the detect/install machinery behind them. Split out of #431 so it can be reviewed and merged on its own.This pull request and its description were written by Isaac.