Visual Studio code editor is the recommended code editor to work with LWC .
It has many plugins to support development , testing and deployment.
Click here to get the latest version of Visual Studio Code .
Launch the Visual studio code and click on the Extensions.
Search for Salesforce Extension Pack and install it.
Now Press Ctrl + Shift + p , it will open place to search for command .
Some times Visual Studio code unable to recognize Salesforce CLI , Install Salesforce CLI from here