Skip to content

#1795: one liner installer#1780

Merged
hohwille merged 19 commits intodevonfw:mainfrom
shodiBoy1:feature/one-liner-install-and-landing-page
Apr 2, 2026
Merged

#1795: one liner installer#1780
hohwille merged 19 commits intodevonfw:mainfrom
shodiBoy1:feature/one-liner-install-and-landing-page

Conversation

@shodiBoy1
Copy link
Copy Markdown
Contributor

@shodiBoy1 shodiBoy1 commented Mar 27, 2026

This PR fixes #1795

Implemented changes:

  • Added install.sh - a one-liner install script that detects OS/architecture, downloads the latest IDEasy release, and runs setup automatically. Works on macOS (Intel & ARM), Linux (x64 & ARM64), and Windows (via Git Bash).
  • Added website/ - a landing page (index.html + style.css) with install instructions, copy-to-clipboard command, and an overview of IDEasy features.

This simplifies the current installation process from:

  1. Go to GitHub releases page
  2. Find the correct archive for your OS and architecture
  3. Download it manually
  4. Extract it
  5. Run setup

To just:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/devonfw/IDEasy/main/install.sh)"


Checklist for this PR

  • When running mvn clean test locally all tests pass and build is successful
  • PR title is of the form #«issue-id»: «brief summary» (e.g. #921: fixed setup.bat). If no issue ID exists, title only.
  • PR top-level comment summarizes what has been done and contains link to addressed issue(s)
  • PR and issue(s) have suitable labels
  • Issue is set to In Progress and assigned to you or there is no issue (might happen for very small PRs)
  • You followed all coding conventions
  • You have added the issue implemented by your PR in CHANGELOG.adoc unless issue is labeled
    with internal

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Mar 27, 2026

Pull Request Test Coverage Report for Build 23889953804

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.01%) to 70.634%

Files with Coverage Reduction New Missed Lines %
com/devonfw/tools/ide/tool/ide/IdeToolCommandlet.java 1 78.33%
Totals Coverage Status
Change from base Build 23887857697: -0.01%
Covered Lines: 10885
Relevant Lines: 14791

💛 - Coveralls

@shodiBoy1 shodiBoy1 self-assigned this Mar 27, 2026
@shodiBoy1 shodiBoy1 added the enhancement New feature or request label Mar 27, 2026
@shodiBoy1 shodiBoy1 marked this pull request as ready for review March 27, 2026 10:25
@shodiBoy1 shodiBoy1 requested a review from hohwille March 27, 2026 10:25
@shodiBoy1 shodiBoy1 moved this from 🆕 New to Team Review in IDEasy board Mar 27, 2026
@MarvMa MarvMa self-requested a review March 30, 2026 11:31
@MarvMa
Copy link
Copy Markdown
Contributor

MarvMa commented Mar 30, 2026

I tested the install script using WSL with Debian. The script correctly detected the operating system, downloaded the current IDEasy version, and started it. However, the application got stuck during the “Running setup” step.
The issue might be that, during installation, the user is required to accept a license agreement via interactive input. If the setup script does suppress the IDEasy installation logs and does not allow user input, this could explain the problem. Allowing user input during the setup phase should fix this issue.
image

@hohwille hohwille changed the title Feature/one liner install and landing page one liner installer Mar 30, 2026
@hohwille hohwille added the install installation process of IDE + tools and install commandlet label Mar 30, 2026
@hohwille hohwille added this to the release:2026.04.001 milestone Mar 30, 2026
@hohwille
Copy link
Copy Markdown
Member

hohwille commented Mar 30, 2026

I tested the install script using WSL with Debian. The script correctly detected the operating system, downloaded the current IDEasy version, and started it. However, the application got stuck during the “Running setup” step. The issue might be that, during installation, the user is required to accept a license agreement via interactive input. If the setup script does suppress the IDEasy installation logs and does not allow user input, this could explain the problem. Allowing user input during the setup phase should fix this issue.

Thanks for testing, @MarvMa. Is your problem not simply the bug #1770?
That bug is already fixed and will disappear with the next release end of this week.
You may test if you just type "yes" and hit enter if the installer script then continues and installation is successful.

@MarvMa
Copy link
Copy Markdown
Contributor

MarvMa commented Mar 31, 2026

I tested the install script using WSL with Debian. The script correctly detected the operating system, downloaded the current IDEasy version, and started it. However, the application got stuck during the “Running setup” step. The issue might be that, during installation, the user is required to accept a license agreement via interactive input. If the setup script does suppress the IDEasy installation logs and does not allow user input, this could explain the problem. Allowing user input during the setup phase should fix this issue.

Thanks for testing, @MarvMa. Is your problem not simply the bug #1770? That bug is already fixed and will disappear with the next release end of this week. You may test if you just type "yes" and hit enter if the installer script then continues and installation is successful.

Correct! This has been the issue. The one-liner worked after typing "yes" during the installation 👍

@MarvMa MarvMa moved this from Team Review to 👀 In review in IDEasy board Mar 31, 2026
Copy link
Copy Markdown
Contributor

@MarvMa MarvMa left a comment

Choose a reason for hiding this comment

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

The install script works as expected. Nice work. This improves the UX for new Users 👍

@hohwille hohwille changed the title one liner installer #1795: one liner installer Apr 2, 2026
@hohwille hohwille self-assigned this Apr 2, 2026
@hohwille
Copy link
Copy Markdown
Member

hohwille commented Apr 2, 2026

I created an issue to make the feature transparent and so we can also add it to our CHANGELOG.
To be pragmatic, I will just merge it as is now and add it to setup.adoc and CHANGELOG after merge.

Copy link
Copy Markdown
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

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

@shodiBoy1 thank your for your PR and your great idea to improve IDEasy. 🥇
As I just commented, I will merge this PR and after that add the issue I just created for it to our CHANGELOG.

@hohwille hohwille merged commit 15c2ee0 into devonfw:main Apr 2, 2026
4 checks passed
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in IDEasy board Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request install installation process of IDE + tools and install commandlet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

Create installation script to simplify setup of IDEasy

5 participants