GenQuery Windows Install
ℹ️ This is tested on Windows 11, version 10.0.26100.0 using Nushell
version 0.103. Last test was on 22-Mar-2025.
Overview of Windows Installation Approach
There are a variety of ways to install Nushell. Many of the methods are targeted toward the needs software developers, using tools they regularly use. The method recommended and described here is targeted toward end users with the objectives of simplicity, and reliability.
ℹ️ Currently, winget is not an option, even though it is mentioned as one
of the options in Nushell installation documentation. For more information describing why, see here.
- Using Powershell (running as Administrator), install Chocolatey, an open-source Windows package manager.
- Continuing with Powershell (running as Administrator), install Nushell using Chocolatey.
- A few moments after completion of scripts, a new shell option for Nushell will appear.
- Using Nushell, install GenQuery.
- Configure GenQuery to use the installed sample RootsMagic 10 database.
- Test GenQuery and experience delight!
- Reconfigure GenQuery to use for real.
Automated install
powershell -Command Invoke-WebRequest -Uri "https://raw.githubusercontent.com/miams/genq/refs/heads/main/installers/genq-full-install-Win11.ps1" -OutFile "genq-full-install-Win11.ps1"
powershell -ExecutionPolicy Bypass -File .\genq-full-install-Win11.ps1
ℹ️ Terminal will display a warning about pasting multiple lines of code
simultaneously. Select “Paste Anyway”
Step-by-Step Install Guide
1. Install Chocolatey
For reference, these are the instructions we are following. https://chocolatey.org/install#individual
ℹ️ If you are unfamiliar with Terminal, the Terminal Title Bar in Windows
11 refers to the top section of a terminal window that displays information about the session. The plus sign ("+") opens a new default shell window, and the down carat ("⌄") opens a drop-down menu, letting you choose which specific shell to run or change other options. Multiple shell run simultaneously in separate tabs. The black tap on the dark gray title bar background is a little hard to notice initially.
By default, Windows 11 provides the three shells listed. Powershell opens by default. Completing the process outline in this document will create a fourth shell option, Nushell.
- Powershell
- Command Prompt
- Azure Shell
ℹ️ When Powershell opens, you will frequently see a message about:
“Install the latest PowerShell for new features and improvements..” It is fine to ignore this. Powershell updates frequently and with features not related to typical use.
Next open a new PowerShell tab with Administrative Rights. Click on the down carat to open Terminal drop-down menu Hover over the Windows PowerShell item, and help box appears showing “Ctrl+Click” to open as administrator. Doing that opens an option to “Run as Administrator”. Click that.
Windows’ User Account Control (UAC) service will ask your permission to allow Terminal to make changes to your Device. Click yes.
💡 You can easily copy text from the code boxes that follow by clicking
icon of the top right corner of the box. That adds it to your clipboard. Then you can CTL-v in your Powershell Window to paste it.
Click on the newly opened Terminal Window, that shows a tab displaying “Administrator: Windows Pow..”
Get-ExecutionPolicy
If you don’t use Powershell much, it will likely say Restricted, and we need to open its permissions to allow Administrative actions.
Set-ExecutionPolicy AllSigned
2. Install Nushell
Continuing with the same Powershell terminal windows using Administrative permissions:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Now install Nushell From the same Administrative Rights
choco install nushell
It will ask to run and installation script, select: Y
a. Agree to the Source Agreement Terms: Y
3. Open a new Terminal window with Nushell.
Wait a few seconds after the Chocolatey finishes installing Nushell. Close both instances of Terminal, and then open a new Terminal session from the Windows command bar. It will open PowerShell by default. Next, we want to open a new Terminal tab, a tab that uses Nushell. On the top Terminal bar, next to the plus sign, click the down arrow, and there should be a 4th option now there for Nushell. Click it.
4. Open a new Terminal window with Nushell.
5. Configure GenQuery to use the installed sample RootsMagic 10 database.
6. Test GenQuery.
7. Reconfigure GenQuery to use for real.
to sync with your RootsMagic 10 database and only execute queries only of the copied database.
💡 If you find you like GenQuery and Nushell, you can easily make it your
default Terminal window. Using the Down Cart, select Settings from the drop down menu. Update the Default Profile (the first item under Startup) to use Nushell and click Save. You can still access the other types of shells at anytime, via the drop down menu.