Configuring Emily

    Although Emily tries to stay as much out of the way of your local system as possible, Emily needs some fundamental configuration to work properly.

    Fortunately, Emily can configure your system automatically by installing the required packages with the emily doctor command.

    After installing Emily, run the emily doctor command. Select the configuration items to fix from the selection list with SPACE and confirm the selection by pressing ENTER.

    $ emily doctor
    Emily: Running emily doctor...
    Checking your system please stand by...Emily: All required features fixed!
    - Docker ✔
    - WSL Kernel update ✔
    - Enable Hyper V on startup ✔

    Emily: Missing 1 optional feature(s). Some requirements might
    require the terminal to be restarted before they are
    detected correctly

    - Visual Studio Code ✔
    - Remote Development Extension ✔
    - Python Extension ✔
    - PyCharm Professional ×
    ? Emily: I can fix the issues for you. Continue?(Y/n) · Yes
    Emily: Downloading PyCharm Professional 2021.2 ...Emily: Finished installing requirements on your machine.

    When all required configurations are fixed, Emily is ready to go.

    Required and optional configurations

    For all operating systems, Emily requires that Docker (and Docker Compose) is installed. For Docker to work properly on Windows, this further requires the installation and setup of Windows Subsystem for Linux (WSL), as well as Hyper-V being enabled.

    Emily can fix all of these automatically - simply choose the items from the selection list with SPACE and confirm the selection by pressing ENTER.

    Alternatively, you can fix selected configurations using the --fix flag:

    $ emily doctor
    --fix docker docker-compose


    If no arguments are provided to --fix, all missing configurations will be fixed automatically.

    The full list of configuration flags is:

    ConfigurationFlagWindowsmacOSLinuxRequired
    Install Dockerdocker
    Install Docker Composedocker-compose
    Install Visual Studio Codevscode
    Install Remote Development Extension for VS Coderemote-extension
    Install Python Extension for VS Codepython-extension
    Install PyCharm Professionalpycharm
    Install Kubernetes Command-Line Toolkubectl
    Update WSL Kernelwsl-kernel-update
    Enable Hyper V on startuphyper-v-on-startup
    Install Xcode Developer Toolsxcode-select
    Ensure non-Snap Docker installationdocker-snap
    Ensure Docker has root privilegesdocker-permissions
    Install appropriate Nvidia Drivernvidia-driver
    Install Nvidia Dockernvidia-docker

    If you don't want to fix anything but just need a status report, run emily doctor --no-fix.