mdjournal 0.1.0
dotnet tool install --global mdjournal --version 0.1.0
dotnet new tool-manifest
dotnet tool install --local mdjournal --version 0.1.0
#tool dotnet:?package=mdjournal&version=0.1.0
nuke :add-package mdjournal --version 0.1.0
Markdown Journal CLI
A CLI for creating and maintaining markdown journals — with file-change tracking, automatic table-of-contents generation, and safe transactional updates.
Quick Start
# Create a new journal in the current directory
mdjournal new MyJournal
# Adopt an existing markdown directory as a managed journal
mdjournal init --path ~/Documents/Notes
# Add an entry
mdjournal add entry "Daily Standup" --path ~/Documents/MyJournal
# Sync tracking/config/TOC after a pull or merge (no Last Edited writes)
mdjournal update --path ~/Documents/MyJournal journal --sync
Installation
Download and install (recommended)
Go to the Releases page and download the asset that matches your OS and chip.
<details> <summary><strong>macOS</strong></summary>
Pick the right asset:
- Apple Silicon:
mdjournal-<version>-osx-arm64.zip - Intel:
mdjournal-<version>-osx-x64.zip
# Replace the filename with the one you downloaded
unzip mdjournal-<version>-osx-arm64.zip
chmod +x mdjournal
sudo mv mdjournal /usr/local/bin/
mdjournal --version
If macOS blocks the binary ("cannot be opened because the developer cannot be verified"), run:
xattr -d com.apple.quarantine /usr/local/bin/mdjournal
Update: download the new release asset and repeat the install steps above — the mv will replace the existing binary.
Remove:
sudo rm /usr/local/bin/mdjournal
</details>
<details> <summary><strong>Linux</strong></summary>
Pick the right asset:
- x64 (most desktops/servers):
mdjournal-<version>-linux-x64.zip - ARM64 (Raspberry Pi, etc.):
mdjournal-<version>-linux-arm64.zip
# Replace the filename with the one you downloaded
unzip mdjournal-<version>-linux-x64.zip
chmod +x mdjournal
sudo mv mdjournal /usr/local/bin/
mdjournal --version
Update: download the new release asset and repeat the install steps above — the mv will replace the existing binary.
Remove:
sudo rm /usr/local/bin/mdjournal
</details>
<details> <summary><strong>Windows</strong></summary>
Download mdjournal-<version>-win-x64.zip, then extract it.
To add mdjournal.exe to your PATH:
- Move
mdjournal.exeto a permanent folder, e.g.C:\Tools\. - Open Settings → System → About → Advanced system settings → Environment Variables.
- Under System variables, select Path and click Edit.
- Click New and add your folder path (e.g.
C:\Tools). - Click OK, then open a new terminal and verify:
mdjournal --version
Update: download the new release asset, extract it, and replace mdjournal.exe in the folder you chose above.
Remove: delete mdjournal.exe from its folder. If you added the folder solely for this tool, also remove it from your PATH using the same Environment Variables dialog.
</details>
If a release does not yet include your platform asset, see the install options below.
Install via dotnet tool
dotnet tool install -g mdjournal
mdjournal --version
Update:
dotnet tool update -g mdjournal
Remove:
dotnet tool uninstall -g mdjournal
Build from source
Requires the .NET 10 SDK.
git clone https://github.com/CollinRobison/markdown-journal-cli.git
cd markdown-journal-cli
dotnet pack markdown-journal-cli --configuration Release
dotnet tool install -g --add-source ./markdown-journal-cli/nupkg mdjournal
mdjournal --version
Update: pull the latest changes and re-pack, then update the tool:
git pull
dotnet pack markdown-journal-cli --configuration Release
dotnet tool update -g --add-source ./markdown-journal-cli/nupkg mdjournal
Remove:
dotnet tool uninstall -g mdjournal
How It Works
Each journal has normal markdown files plus three managed metadata artifacts:
.journalrcfor user-facing journal settings (name, TOC filename, ignore list).mdjournal/.journalindexfor file-change tracking (hash-based).mdjournal/.journaltocfor TOC structure (topics + root entries)
mdjournal update ... journal keeps them in sync by detecting file changes,
updating tracking/config state, and regenerating the markdown TOC.
Documentation
- Full command reference: docs/COMMANDS.md
- Development workflow: docs/DEVELOPMENT.md
- Testing infrastructure: docs/TESTING.md
- Architecture details: docs/ARCHITECTURE.md
- Contribution guide: CONTRIBUTING.md
- Security policy: SECURITY.md
- Code of conduct: CODE_OF_CONDUCT.md
- Changelog: CHANGELOG.md
- Roadmap: ROADMAP.md
License
MIT. See LICENSE.
Community
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 55 | 6/1/2026 |