Alchemist Colby Timm
Install Alchemist with WinGet
winget install --id=ColbyTimm.Alchemist -e A keyboard-driven terminal IDE for Azure Cosmos DB (NoSQL API). Browse databases, write SQL, and page through results in one screen.
winget install --id=ColbyTimm.Alchemist -e A keyboard-driven terminal IDE for Azure Cosmos DB (NoSQL API). Browse databases, write SQL, and page through results in one screen.
A keyboard-driven terminal IDE for Azure Cosmos DB (NoSQL API). Browse databases, write SQL, and page through results in one screen.

Alchemist is in early development.
UPDATE and DELETE by query, each reviewed before
anything is written.ctrl+t switches theme in
the app and keeps it.On macOS and Linux, install with Homebrew:
brew install colbytimm/tap/alchemist
On Windows, install with winget, then open a new terminal:
winget install --id ColbyTimm.Alchemist -e
Or download the file for your platform from the releases page:
| Platform | File | Install |
|---|---|---|
| macOS | alchemist__darwin_universal.tar.gz | tar -xzf it and move alchemist to a directory on your PATH |
| Linux | the .deb, .rpm or .apk for your architecture | sudo apt install ./.deb, sudo dnf install ./.rpm or sudo apk add --allow-untrusted ./.apk |
| Windows | alchemist__windows_amd64.msi, or the .zip | run the MSI, then open a new terminal |
On Windows, install with winget or the MSI, not both.
Installing covers every file, the keychain on Linux, verifying a download, uninstalling and building from source.
Try it without an account. The mock adapter serves fixture data:
alchemist --adapter mock
Run alchemist. The first run asks for a profile name, the account endpoint and
the key:

The profile is saved to ~/.config/alchemist/config.toml. The key goes to the OS
keychain if you tick the box, and is never written to the file. Next time,
alchemist connects to the default profile and alchemist to any other.
The Cosmos DB emulator runs in a container, so it needs Docker or Podman. These
commands start it on port 8081, load it with sample sales, telemetry and hr
databases, and open the app on it:
alchemist emulator start
alchemist emulator seed
alchemist emulator
From a clone, run ./bin/alchemist in place of alchemist.
start adds the emulator profile, which uses the emulator's well-known key, so there
is no key to paste. The emulator is local, so its profile allows writes. See
the local emulator for ports, data and troubleshooting.
Expand sales in the catalog, select orders, press e and type a query. ctrl+r
runs it:

The status bar shows the row count and the request charge. m fetches the next page
when there is one, and enter on a row opens the document. tab moves between
panes, ? lists every key, and q quits.
A query can also name its container, whatever is selected:
SELECT o.id, o.total FROM sales.orders o WHERE o.status = "open"
| Topic | Pages |
|---|---|
| Installing | Install, verify and uninstall |
| Editor | Writing queries, Results and export, History and saved queries, Themes |
| Query language | Queries across containers, Transactional batches, Updating by query, Deleting by query |
| Accounts and data | Profiles and accounts, The local emulator, Managing the catalog, Cloning, Snapshots |
| Reference | Keys, Statements, Commands, Configuration |
The examples use the sample data from alchemist emulator seed. sales.orders is the
orders container in the sales database.
Alchemist is inspired by harlequin, the SQL IDE for the terminal.