The ide commandlet manages your devonfw-ide.
You need to supply additional arguments as devon ide «args». These are explained by the following table:
devon ide| Argument(s) | Meaning |
|---|---|
|
setup devonfw-ide (cloning the settings from the given URL) |
|
update devonfw-ide |
|
update devonfw-ide |
|
uninstall devonfw-ide (if you want remote it entirely from your system) |
Run devon ide setup to initially setup your devonfw-ide. It is recommended to run the setup script in the top-level directory ($DEVON_IDE_HOME). However, in case you want to skip some system specific integrations, you may also run this command directly instead. The setup only needs to be called once after a new devonfw-ide instance has been created. It will follow this process:
-
install the
devoncommand on your system (if not already installed). -
clone the settings (you may provide a git URL directly as argument or you will be prompted for it).
-
install all required software from
DEVON_IDE_TOOLSvariable (if not already installed). -
configure all these tools
-
create IDE launch scripts
-
perform OS specific system integration such as WindowsExplorer integration (only done from
setupscript and not fromdevon ide setup)
Run devon ide update to update your devonfw-ide. This will check for updates and install them automatically.
The optinal extra argument («package») behaves as follows:
-
scripts: check if a new version ofdevonfw-ide-scriptsis available. If so it will be downloaded and installed. As Windows is using file-locks, it is tricky to update a script while it is executed. Therefore, we update thescriptsfolder as an async background task and have to abort further processing at this point on windows as a workaround. -
settings: update the settings (git pull). -
software: update the software (e.g. if versions have changed viascriptsorsettingsupdate). -
projects: update the projects (checkout and import repositories into workspace/IDEs). -
all: do all the above sequentially. -
none:
settingsandsoftwareare updated by default if no extra argument is given. This is the regular usage for project developers. Only perform an update ofscriptswhen you are requested to do so by your technical lead. Bigger projects especially need to test updates before rolling them out to the entire team. If developers always updated the latest release of thescriptswhich is released globally, some project functionality would break causing problems and extra efforts in the teams.
In order to update to a specific version of scripts an explicit version can be specified after the additional to argument:
devon ide update scripts to 3.1.99The above example will update to the exact version 3.1.99 no matter if this is an upgrade or a downgrade of your current installed version.
If you just use devon ide update scripts then the latest available version will be installed. In larger teams it is recommended to communicate exact version updates to avoid that a new release can interfere and break anything. Therefore, some pilot user will test a new version for the entire team and, only after a successful test, they will communicate to the team to update to that exact version by providing the complete command as in the above example.
We hope you love devonfw-ide. However, if you don’t and want to get rid of it entirely and completely remove all integrations, you can use this command:
devon ide uninstallThis will remove devonfw-ide from all central places of your OS (user home directory such as scripts, .devon, .bashrc, as well as windows registry, etc.).
However, it will not remove your current installations (or shared software folder). So after running this uninstall, simply remove your DEVON_IDE_HOME directory of all devonfw-ide installations and potential shared software folder. You may also want to clean up your ~/Downloads directory from files downloaded by devonfw-ide. We do not automate this as deleting a directory is a very simple manual step and we do not want to take responsibility for severe data loss if your workspaces contained valuable work.