mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
965 B
965 B
Installation
The recommended method is using use-package and straight, or a similar package manager.
(use-package org-roam
:after org
:hook (org-mode . org-roam-mode)
:straight (:host github :repo "jethrokuan/org-roam")
:custom
(org-roam-directory "/path/to/org-files/")
(org-roam-link-representation 'title) ;; or keep it as 'id
:bind
("C-c n l" . org-roam)
("C-c n t" . org-roam-today)
("C-c n f" . org-roam-find-file)
("C-c n i" . org-roam-insert)
("C-c n g" . org-roam-show-graph))
If not using package.el, you can also clone it into your Emacs directory and add it to your load path:
git clone https://github.com/jethrokuan/org-roam/ ~/.emacs.d/elisp/org-roam
(add-to-list 'load-path "./elisp")
(require 'org-roam)