Skip to content

feat(install): single-bundle install/upgrade scripts#1219

Open
vladfrangu wants to merge 1 commit into
masterfrom
feat/single-cli-bundle-install-scripts
Open

feat(install): single-bundle install/upgrade scripts#1219
vladfrangu wants to merge 1 commit into
masterfrom
feat/single-cli-bundle-install-scripts

Conversation

@vladfrangu

@vladfrangu vladfrangu commented Jun 24, 2026

Copy link
Copy Markdown
Member

What

Updates the public install/upgrade scripts to the single-apify-cli-bundle layout:

  • install.sh — detect the Windows ARM64 (MINGW) target; download the single apify-cli bundle; run apify-cli install to create the apify/actor wrapper scripts and do shell integration (instead of dropping three binaries).
  • install.ps1 — detect arch via PROCESSOR_ARCHITECTURE (ARM64 never uses a baseline build); download apify-cli.exe; run apify-cli install --shims-only to create the .cmd/.ps1/POSIX wrappers.
  • upgrade.ps1 — download the single apify-cli bundle and run apify-cli install --shims-only; clean up legacy .exe leftovers.

The bundle is the single source of truth for the wrapper-script content; these scripts just bootstrap and delegate to it.

Depends on #1169 — merge after a release

Important

These scripts download the apify-cli-* release asset and call apify-cli install --shims-only, both of which only exist once #1169 has shipped in a release. Merge this only after #1169 is released, otherwise installs/upgrades will break.

Split out from #1169 so the public-facing install scripts can be reviewed and landed separately, on the release cadence.

Update the public install.sh, install.ps1 and upgrade.ps1 to the single-bundle layout: download the one apify-cli bundle and delegate wrapper-script creation to 'apify-cli install [--shims-only]' (the bundle is the single source of truth for the apify/actor shims), instead of dropping three binaries or hand-rolling the shim text.

- install.sh: detect the Windows ARM64 (MINGW) target; download apify-cli; run 'apify-cli install' for shims + shell integration
- install.ps1: detect arch via PROCESSOR_ARCHITECTURE (no baseline for ARM64); download apify-cli.exe; run 'apify-cli install --shims-only'
- upgrade.ps1: download the single apify-cli bundle and run 'apify-cli install --shims-only'; clean up legacy .exe leftovers

Depends on the single-apify-cli-bundle work, so merge this only once a release containing that bundle (and the --shims-only flag) is out.
@vladfrangu vladfrangu force-pushed the feat/single-cli-bundle-install-scripts branch from c0a7362 to d725406 Compare June 24, 2026 12:57
@vladfrangu vladfrangu requested a review from szaganek as a code owner June 24, 2026 12:57
@vladfrangu vladfrangu changed the base branch from feat/single-cli-bundle to master June 24, 2026 12:57
@vladfrangu vladfrangu requested a review from szaganek June 24, 2026 12:57
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.

2 participants