Skip to content

feature: CI mode on installation page #90

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
Apr 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,24 @@ And for installs on CI where shell config modification isn't appropriate, add
curl -s "https://get.sdkman.io?rcupdate=false" | bash
```

## CI Mode

For automated environments like CI/CD pipelines, SDKMAN! offers a dedicated CI mode
that optimizes the installation for non-interactive use:

```shell
curl -s "https://get.sdkman.io?ci=true" | bash
```

CI mode automatically:
- Answers all prompts (sets `sdkman_auto_answer=true`)
- Disables colored output for cleaner logs (sets `sdkman_colour_enable=false`)
- Turns off the self-update feature to prevent unexpected updates (sets `sdkman_selfupdate_feature=false`)

You can combine this with other parameters as needed:

```shell
curl -s "https://get.sdkman.io?ci=true&rcupdate=false" | bash
```

That's all there is to it! Now let's dive into [Usage](/usage).