@@ -182,23 +182,15 @@ export namespace Installation {
182182 case "curl" :
183183 result = await upgradeCurl ( target )
184184 break
185- // altimate_change start — force re-fetch to prevent stale native binaries
186- // Without --force, npm/pnpm/bun may serve cached platform binaries from
187- // @altimateai /altimate-core's optionalDependencies (e.g. darwin-arm64).
188- // The caret range (^0.2.5) lets npm skip re-downloading if the cached
189- // version satisfies the range, even when a newer version with additional
190- // exports exists. --force ensures all dependencies are re-resolved and
191- // re-fetched from the registry.
192185 case "npm" :
193- result = await Process . run ( [ "npm" , "install" , "-g" , "--force" , `@altimateai/altimate-code@${ target } ` ] , { nothrow : true } )
186+ result = await Process . run ( [ "npm" , "install" , "-g" , `@altimateai/altimate-code@${ target } ` ] , { nothrow : true } )
194187 break
195188 case "pnpm" :
196- result = await Process . run ( [ "pnpm" , "install" , "-g" , "--force" , `@altimateai/altimate-code@${ target } ` ] , { nothrow : true } )
189+ result = await Process . run ( [ "pnpm" , "install" , "-g" , `@altimateai/altimate-code@${ target } ` ] , { nothrow : true } )
197190 break
198191 case "bun" :
199- result = await Process . run ( [ "bun" , "install" , "-g" , "--force" , `@altimateai/altimate-code@${ target } ` ] , { nothrow : true } )
192+ result = await Process . run ( [ "bun" , "install" , "-g" , `@altimateai/altimate-code@${ target } ` ] , { nothrow : true } )
200193 break
201- // altimate_change end
202194 case "brew" : {
203195 const formula = await getBrewFormula ( )
204196 const env = {
0 commit comments