How to run INDI on Windows
You need:
- Windows 11 (Build 22000 or later)
- A machine with an x64 processor. (x86 and Arm64 are currently not supported)
- WSL installed and set up with the latest version
- Linux distribution installed and set to WSL 2
- Linux kernel version of 5.10.60.1 or higher
Install WSL on Windows. We assume a fresh installation here. If WSL is already installed you can remove and reinstall, upgrade or add an additional WSL environment. Details at:https://learn.microsoft.com/en-us/windows/wsl/setup/environment
Open a Powershell terminal in Admin mode.
wsl --install
The —install command performs the following actions:
- Enables the optional WSL and Virtual Machine Platform components
- Downloads and installs the latest Linux kernel
- Sets WSL 2 as the default
- Downloads and installs the Ubuntu Linux distribution (reboot may be required)
Open the Ubuntu istallation from the Start menu. This opens a terminal window for Ubuntu and initially prompts you to create a User Name and Password. This account will be your default user for your Ubuntu installation and automatically logs in when you launch Ubuntu. It is also the Linux administrator, with the ability to run sudo (Super User Do) administrative commands.
You now have a working Ubuntu installation. You can enter Linux commands in the terminal. You can also enter Linux commands from a Powershell windos by prefixing the command with “wsl” e.g: Run the Linux “ls” command to list files:
wsl ls
You can shutdown WSL from Powershell
wsl --shutdown
Set up for USB
You now need to download and install the usbipd-win installer (.msi) so Windows can share its USB ports with WSL. Details at: https://learn.microsoft.com/en-us/windows/wsl/connect-usb
- Openhttps://github.com/dorssel/usbipd-win/releasesin your Windows web browser
- Identify the required installer to download e.g. usbipd-win_5.0.0_x64.msi
- Click to download the installer
- Run the installer and follow the instructions
Make USB devices accessible to WSL
-
Open a Powershell terminal and list connected USB devices
usbipd list -
Note the BUSID of each one you want to use in WSL
-
For each BUSID:
usbipd bind --busid N-N usbipd attach --wsl --busid N-N -
Check USB status in WSL
wsl lsusb
You are now ready to install INDI as you would with any other Linux system
Open the Ubuntu terminal window from the Start menu.
sudo apt-add-repository ppa:mutlaqja/ppa
sudo apt-get update
sudo apt-get -y install indi-full gsc
Install INDI Web Manager (optional but recommended)
sudo apt-get -y install python3-pip python-is-python3
sudo -H pip3 install indiweb
wget https://raw.githubusercontent.com/knro/indiwebmanager/master/indiwebmanager.service
sed -i 's/pi/myusername/' indiwebmanager.service
sudo cp indiwebmanager.service /etc/systemd/system/
sudo chmod 644 /etc/systemd/system/indiwebmanager.service
sudo systemctl daemon-reload
sudo systemctl enable indiwebmanager.service
Get the IP address of your WSL installation. You need this to connect to INDI
hostname -I
In your browser you can access INDI Web Manager at http://[WSL IP address]:8624
Note that indiwebmanager.service does not always start reliably. If not, then from the Ubuntu terminal
sudo systemctl restart indiwebmanager.service
Alternatively you can start INDI server from the command line
indiserver [driver name]
You can also install and run the Linux version of Kstars/EKOS with WSL
For this you need to install the relevant Linux graphics driver for your device into WSL. The specifics depend on what graphics hardware you have on your computer. Full details at: https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
When the graphics driver is installed
sudo apt-get install kstars-bleeding
This adds Kstars to your Windows Start menu as Kstars (Ubuntu).
Launch Kstars then set up EKOS as usual. If using INDI Web Manager, set up the profile as Remote with the WSL IP address noted before
Found a mistake? This page is a Markdown file.Edit this page on GitHub
