- 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)
- install sdkman – ref taken from https://sdkman.io/install
curl -s "https://beta.sdkman.io" | bash
#sdk selfupdate force
- 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.