-
Notifications
You must be signed in to change notification settings - Fork 6
feat(cli): ensure safe execution without @latest and omit @latest from marketing #1720
Copy link
Copy link
Closed
Closed
Copy link
Labels
@arkenv/cliIssues or Pull Requests involving the ArkEnv CLIIssues or Pull Requests involving the ArkEnv CLIarkenvChanges to the `arkenv` npm package.Changes to the `arkenv` npm package.enhancementNew feature or improvementNew feature or improvementmarketingRelated to marketing, press, advertising, and user acquisitionRelated to marketing, press, advertising, and user acquisitionready for agentFully specified, ready for immediate implementationFully specified, ready for immediate implementationwwwImprovements or additions to arkenv.js.orgImprovements or additions to arkenv.js.org
Milestone
Description
Metadata
Metadata
Assignees
Labels
@arkenv/cliIssues or Pull Requests involving the ArkEnv CLIIssues or Pull Requests involving the ArkEnv CLIarkenvChanges to the `arkenv` npm package.Changes to the `arkenv` npm package.enhancementNew feature or improvementNew feature or improvementmarketingRelated to marketing, press, advertising, and user acquisitionRelated to marketing, press, advertising, and user acquisitionready for agentFully specified, ready for immediate implementationFully specified, ready for immediate implementationwwwImprovements or additions to arkenv.js.orgImprovements or additions to arkenv.js.org
Problem Summary
Marketing copy and documentation currently specify
npx arkenv@latest init(e.g., in the hero and outro install panels on the homepage). Omitting@latest(simplifying tonpx arkenv init) looks cleaner and is standard across developer tools (e.g.,create-next-app,create-turbo).However,
npxcaches packages locally in the user's cache directory without automatically fetching the newest version when@latestis omitted. If a user runsnpx arkenv inittoday and executes it again 6 months later,npxmay execute the stale, cached CLI version instead of the latest release.Current Behavior
npx arkenv@latest init.npxcache.Desired Behavior
@latestacross homepage components (apps/www/components/page/install-panel.tsx), documentation MDX files, and READMEs to standardize onnpx arkenv init.Acceptance Criteria
npxcaching mitigation and document findings.arkenvCLI that informs the user if their executed CLI version is outdated when invoked vianpx.apps/www/components/page/install-panel.tsx) and copy tonpx arkenv init.npx arkenv init.Out of Scope
npm i -g arkenv) are managed beyond standard update notices.