Step by step guide from zero to installing and setting up Emacs and Org-roam on Windows 10
I am writing this note 26 October 2024. If you are using Emacs 29 or higher, sqlite
comes with Emacs (if you download a pre-compiled version for Windows). This is currently the easiest way to enable Org-roam on Windows. This means you do not need to compile emacs-sqlite.exe
with MSYS2 on your end. Org-roam still requires emacsql-builtin
, which is now incorporated into emacsql
. It is a prequisite of org-roam
, so installing it from MELPA should also automatically install emacsql
. This means chapter 4 currently available is no longer needed. I still think MSYS2 is useful for Emacs and Org-roam users on Windows because it gives you supporting programs such as Aspell (for spell-checking) and Grep (for text search in Emacs). I have not been able to come back to this guide so for long, but I am not archiving it yet; I am still hoping to come back to it to add information for Org-roam users on Windows. Thank you for your patience. If any part of the current content has confused you, I am sorry.
As of 17 Jul 2021, V2 has been released. Both MELPA and MELPA-Stable have this version of Org-roam. It will be markedly different from v1 for both its initial setup and daily usage. At the moment, most of the content of guide will only be applicable to v1 for Org-roam and its related packages such as Org-roam-bibtex.
I am gradually revising this guide in its entirety for v2.
So far the following chapters have been updated:
The the latest version of this guide compatible for v1 is available in the v1 branch of this repositry.
I took the liberty of creating a step-by-step guide for people new to Emacs. I have written this with Windows users with no Linux or programming background in mind, zero about Emacs.
The guide aims to get you going real quick, starting with downloading Emacs with vanilla configuration (no Doom, no Spacemacs).
I won’t repeat why you might like to use Emacs or plain text to write. Here is what I think is the best response to the question: “The Plain Person’s Guide to Plain Text Social Science” by Kieran Healy of Duke University.
At the end of step-by-step guide of Part 1, your Emacs will look like this.
[ Image to be inserted after writing up Part 1]
The audience I have had in mind are:
Even if you are already down the path of using a framework like Doom, I hope stepping back a little and actually finishing configuration from scratch will help you understand how things fit together – it’s a bit like DIY making stuff; completing one thing from start to finish seems to help you leap to the next level of understanding and confidence for some reason.
This work is licensed under a CC BY-SA 4.0 license, except for source code and documentation excerpts from Emacs and Org-roam project.