Skip to content

Notes for Windows 10 with WSL2 #7

Open
@oraix

Description

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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions