shit-cleaner icon indicating copy to clipboard operation
shit-cleaner copied to clipboard

Notes for Windows 10 with WSL2

Open oraix opened this issue 4 years ago • 0 comments

With win10 Subsystem Linux 2, we can take the advantage of docker desktop WSL2 based engine to run this plugin. Here share the steps:

  1. you must activate and install Ubuntu 18.04, follow the link to enable it: https://docs.docker.com/docker-for-windows/wsl/ If you can turn on the option like below screenshot then move to next step. image

  2. Login the Ubuntu (make sure it's running in wsl2 mode) as root wsl sudo su

  3. Pull codelimate and download all necessary engines. https://github.com/codeclimate/codeclimate Run below command to download engines (Either cmd window or wsl is ok): docker_run codeclimate/codeclimate engines:install

  4. Download, unzip and copy the codeclimate command line wrapper of linux to /usr/local/bin with Ubuntu, see attached file. codeclimate.zip

  5. Go back to Idea or pycharm to enjoy code cleaner :)

oraix avatar Jun 09 '20 13:06 oraix