how to install micronaut on windows 10 – java

  1. install wsl on windows

run cmd as command prompt

wsl --install

Above command will enable the required optional components, download the latest Linux kernel, set WSL 2 as your default, and install a Linux distribution for you (Ubuntu by default)

  1. install sdkman – ref taken from https://sdkman.io/install
curl -s "https://beta.sdkman.io" | bash
#sdk selfupdate force
  1. install micronaut with sdkman
#sdk update
#sdk install micronaut

OR

Download the latest binary from Micronaut Website – https://github.com/micronaut-projects/micronaut-starter/releases/download/v3.2.0/micronaut-cli-3.2.0.zip

Extract the binary to appropriate location (For example: C:\PURAB\micronaut-cli-3.2.0)

Create an environment variable MICRONAUT_HOME which points to the installation directory i.e. C:\PURAB\micronaut-cli-3.2.0

Update the PATH environment variable, append %MICRONAUT_HOME%\bin.

Published by

Purab

I am Purab from India, Software development is my profession and teaching is my passion. Programmers blog dedicated to the JAVA, Python, PHP, DevOps and Opensource Frameworks. Purab's Github Repo Youtube Chanel Video Tutorials Connect to on LinkedIn

Leave a Reply

Your email address will not be published.