How to run Phpstorm in WSL2(Linux)

Download Phpstorm for linux

go to url: https://www.jetbrains.com/phpstorm/download/#section=linux and download tar.gz file

Move to linux distro:

mv /mnt/c/Users/hello/Downloads/PhpStorm-2022.3.2.tar.gz .

Extract:

tar xvf PhpStorm-2022.3.2.tar.gz --directory=.

Install JRE:

sudo apt-get install openjdk-18-jre

Install libs ( for fix plugin markup):

sudo apt-get install libxkbcommon0

Start Phpstorm:

go to folder that phpstorm was extract and run command

bin/phpstorm.sh



Copyright © 2013-present Magento, Inc. All rights reserved.