Install libraries for geospatial analysis on Windows.

GeoSense ✅
2 min readDec 12, 2022

This article shows you how to install Windows Subsystem for Linux (WSL) and create a conda env for geospatial analysis.

Geospatial analysis.

1. Install Linux on Windows with WSL


You must be running Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11 to use the commands below.

Install WSL command

You can now install everything you need to run WSL with a single command. Open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting “Run as administrator”, enter the wsl — install command, then restart your machine.

wsl --install

Install Windows Terminal (optional)

Using Windows Terminal enables you to open multiple tabs or window panes to display and quickly switch between multiple Linux distributions or other command lines (PowerShell, Command Prompt, Azure CLI, etc). You can fully customize your terminal with unique color schemes, font styles, sizes, background images, and custom keyboard shortcuts.

Install Windows Terminal.

2. Installing Miniconda

  • In your Terminal (on Windows, switch to WSL), download the Miniconda installer
curl -sL \   "" > \   ""
  • Install Miniconda by entering:
  • and follow the prompts, accepting all defaults. Restart your Terminal. Now your prompt should list which environment is active.

Update Conda using the command:

conda update conda
  • After installation, delete the installer:
  • Finally, install the program wget using Conda to download any files using CLI:
conda install wget

Create an Environment Called Spatial#

conda create -n geos python
conda activate geos
conda config --add channels…
GeoSense ✅

🌏 Remote sensing | 🛰️ Geographic Information Systems (GIS) | ℹ️