The fastest way to install IDEasy is the following one-line command for bash (use git-bash on Windows):
bash -c "$(curl -fsSL https://raw.githubusercontent.com/devonfw/IDEasy/main/install.sh)"This will auto-detect your OS and architecture, download the latest release, and run setup. If you prefer a manual installation feel free to read-one.
We try to make it as simple as possible for you. However, there are some minimal prerequisites:
-
Unless you use the MSI installer for Windows, you need to have a tool to extract
*.tar.gzfiles (tarandgzip). On Windows before Version 10 (1803) use 7-zip. On all other platforms this comes out of the box. -
You need to have git.
-
On Windows you only need to download and install git for windows.
-
On Linux you might need to install the git in case it is not present (e.g.
sudo apt-get install gitorsudo yum install git-core) -
On MacOS you only need to download and install git for mac.
-
The latest release of IDEasy can be downloaded from here.
Extract the contents of the downloaded archive (ide-cli-*.tar.gz) to a new folder and run setup in this folder (on windows double-click on setup.bat).
On MacOS please study Gatekeeper problem and workaround in order to use IDEasy.
On Linux, run ./setup to install. Your current terminal session will not recognize the ide command immediately. To enable it, run source ~/.bashrc (or your shell config).
Alternatively, open a new terminal window to load the configuration automatically. For any other existing terminal sessions, you must run the source command manually in each.
Once installed, you want to create a project. As next step read the usage.
The easiest way is to use your $HOME directory as installation target (e.g. by extracting the download inside ~/Downloads).
In case your $HOME path contains whitespaces or special characters or you want to have your installation on a different partition (e.g. with more disc-space), special care is required.
On windows simply create top-level folder like projects on the drive you want to install to (e.g. D:) and extract and install from there.
On Linux or Mac you should always install to ~/projects but you may create a projects folder on a partition of your choice and create a symlink to it:
mkdir projects
ln -s $PWD/projects ~/projects
cd ~/projects
tar xvfz ~/Downloads/ide-cli-*.tar.gz
source setupTo "uninstall" your IDEasy you only need to call the following command:
ide uninstallThen you can delete the projects folder if there is no project data left that you need.
IDEasy is designed to be non-invasive to your operating system and computer.
Therefore it is not "installed" on your system in a classical way.
Instead you just create a folder and extract the downloaded archive to it.
All the other software remain locally in your IDEasy folder.
However, there are the following excuses (what is reverted by ide uninstall):
-
The
idealias is added to your shell config (~/.bashrcand~/.zshrc, search for:alias ide=). -
The
completionis added to your shell config (~/.bashrcand~/.zshrc, search for:_ide/completion). -
The
IDE_ROOTenvironment variable is added to your environment variables. -
The
$IDE_ROOT/_ide/binfolder is added to yourPATHenvironment variable. -
IDEasywill download all third party software to your~/Downloads/idefolder to reduce redundant storage. You have to delete this folder manually as we do not want to be responsible for data-loss in case users manually put files here.
Whenever a story in IDEasy is completed by merging a PR, our github actions will build a new SNAPSHOT release and on success deploy it to maven central portal.
In order to install and test the latest SNAPSHOT version use the following command:
ide upgrade --mode=snapshotIf you test the latest SNAPSHOT please also give feedback to bug or feature tickets to let us know if things are working or not. Thanks for your testing, support and help to make IDEasy better!
|
Note
|
After you completed your test or the next official release has been shipped please do not forget to switch back to the stable release channel. |
ide upgrade --mode=stable