Batch(*.bat) Script : Install Spring-Boot CLI on Windows 7

  1. mkdir C:\spring
  2. cd C:\spring
  3. C:
  4. wget --no-check-certificate http://repo.spring.io/release/org/springframework/boot/spring-boot-cli/1.1.4.RELEASE/spring-boot-cli-1.1.4.RELEASE-bin.zip

    REM "Latest version = 2.7.3.RELEASE . So, url http://repo.spring.io/release/org/springframework/boot/spring-boot-cli/2.7.3/spring-boot-cli-2.7.3-bin.zip should work."
  5. unzip spring-boot-cli-1.1.4.RELEASE-bin
  6. rm -f spring-boot-cli-1.1.4.RELEASE-bin.zip
  7. cd spring-1.1.4.RELEASE
  8. setx SPRING_HOME "%cd%"
  9. refreshenv
  10. cd bin
  11. setx PATH "%PATH%;%cd%"
  12. refreshenv
  13. spring --version

Please make sure you have installed choletey and GNU unix-utils for Windows and go theough this article if you dont have any of above commands preinstalled :

No comments:

Post a Comment