Skip to content

Allow specifying ZED_VERSION with fallback to latest in install.sh#45522

Merged
osiewicz merged 4 commits intozed-industries:mainfrom
mikelneonedwin:main
Jan 23, 2026
Merged

Allow specifying ZED_VERSION with fallback to latest in install.sh#45522
osiewicz merged 4 commits intozed-industries:mainfrom
mikelneonedwin:main

Conversation

@mikelneonedwin
Copy link
Contributor

@mikelneonedwin mikelneonedwin commented Dec 22, 2025

This PR updates the Linux install script to support installing a specific version of Zed via the
ZED_VERSION environment variable.

  • If ZED_VERSION is set, that version will be downloaded.
  • If ZED_VERSION is not set, the script defaults to the latest stable version, preserving
    existing behavior.
  • Works for both Linux and macOS installs.
  • Maintains compatibility with ZED_CHANNEL for preview builds.

This enhancement allows users to:

  • Pin a specific Zed version for reproducible setups or CI workflows.
  • Easily install older or known-good versions without manually downloading release assets.

Usage examples:

Release Notes

  • Added: Support for installing a specific Zed version via the ZED_VERSION environment variable in the install script (defaults to latest when unset).

Updated download URLs to include specific ZED_VERSION.
Added instructions for specifying Zed version during installation.
@cla-bot
Copy link

cla-bot bot commented Dec 22, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @mikelneonedwin on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@mikelneonedwin
Copy link
Contributor Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 22, 2025
@cla-bot
Copy link

cla-bot bot commented Dec 22, 2025

The cla-bot has been summoned, and re-checked this pull request!

@maxdeviant maxdeviant changed the title install.sh: allow specifying ZED_VERSION with fallback to latest Allow specifying ZED_VERSION with fallback to latest in install.sh Dec 22, 2025
@zed-industries-bot
Copy link
Contributor

zed-industries-bot commented Dec 22, 2025

Warnings
⚠️

This PR is missing release notes.

Please add a "Release Notes" section that describes the change:

Release Notes:

- Added/Fixed/Improved ...

If your change is not user-facing, you can use "N/A" for the entry:

Release Notes:

- N/A

Generated by 🚫 dangerJS against 11f9559

@osiewicz osiewicz merged commit e6d8797 into zed-industries:main Jan 23, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants