Skip to content

v2: use XP_CHANNEL=preview for CLI install #907

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2025
Merged

Conversation

jbw976
Copy link
Member

@jbw976 jbw976 commented Mar 31, 2025

This PR just updates the CLI installation instructions in the v2.0-preview docs to always use XP_CHANNEL=preview. This way, when using v2, folks will download and install the Crossplane CLI from the v2 preview.

The command in action:

❯ curl -sL "https://raw.githubusercontent.com/crossplane/crossplane/main/install.sh" | XP_CHANNEL=preview sh
crossplane CLI downloaded successfully! Run the following commands to finish installing it:

sudo mv crossplane /usr/local/bin
crossplane --help

Visit https://crossplane.io to get started. 🚀
Have a nice day! 👋

❯ sudo mv crossplane /usr/local/bin

This gives me the latest version from the v2 preview:

❯ crossplane version
Client Version: v2.0.0-preview.0.39.g815fa2bba
...

Signed-off-by: Jared Watts <jbw976@gmail.com>
Copy link

netlify bot commented Mar 31, 2025

Deploy Preview for crossplane ready!

Name Link
🔨 Latest commit a7187c7
🔍 Latest deploy log https://app.netlify.com/sites/crossplane/deploys/67ea3bf40a83cb0008c9c778
😎 Deploy Preview https://deploy-preview-907--crossplane.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 78 (🔴 down 6 from production)
Accessibility: 90 (🔴 down 2 from production)
Best Practices: 83 (no change from production)
SEO: 100 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@negz negz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@negz negz merged commit e9d1cf8 into crossplane:master Mar 31, 2025
7 checks passed
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