Skip to content

fix: use correct CLI command name (obsidian-cli)#55

Open
yang1002378395-cmyk wants to merge 1 commit into
kepano:mainfrom
yang1002378395-cmyk:main
Open

fix: use correct CLI command name (obsidian-cli)#55
yang1002378395-cmyk wants to merge 1 commit into
kepano:mainfrom
yang1002378395-cmyk:main

Conversation

@yang1002378395-cmyk
Copy link
Copy Markdown

Problem

Issue #53 reports that the skill invokes obsidian, but the actual command installed via Homebrew is obsidian-cli.

Solution

  1. Add Installation section with Homebrew instructions
  2. Replace all command examples with obsidian-cli
  3. Add alias tip for users whose installation provides obsidian

Changes

  • Updated 28 command references from obsidian to obsidian-cli
  • Added Installation section explaining Homebrew vs other platforms
  • Added alias tip: alias obsidian-cli=obsidian for non-Homebrew users

Testing

  • All command examples now use obsidian-cli
  • Documentation clearly states the expected command name

Fixes #53

- Homebrew installs the CLI as 'obsidian-cli', not 'obsidian'
- Add Installation section with Homebrew instructions
- Replace all command examples with 'obsidian-cli'
- Add alias tip for users with 'obsidian' command

Fixes kepano#53
@Vinch1
Copy link
Copy Markdown

Vinch1 commented Mar 16, 2026

you wrong

@eothL
Copy link
Copy Markdown

eothL commented Mar 16, 2026

@yang1002378395-cmyk, I think obsidian is the correct command, I verified and I ask claude which one is better for him to use
Screenshot 2026-03-16 at 10 09 02 PM

@fridaythx
Copy link
Copy Markdown

Hi @yang1002378395-cmyk!

Thanks for the PR!

Actually, after investigation, the issue is not about the command name. The root cause is:

  1. Obsidian CLI is not enabled by default
  2. You need to manually enable it in Obsidian settings: Preferences → General → Command line interface
  3. After enabling, the system automatically creates the obsidian command - no need to install via Homebrew

So this PR might not be necessary if users enable CLI in Obsidian settings first.

We've closed issue #53 with this solution. You may want to consider updating the docs instead of changing all commands.

@beetle442002
Copy link
Copy Markdown

So part of the problem stems from there being an unofficial obsidian-cli installed through Homebrew and there is now an official obsidian cli that is installed with Obsidian and it must be "enabled" in the settings. The official one uses the command "obsidian" and the homebrew version uses the command "obsidian-cli". A side note the official one only works while Obsidian is already open on the computer and the Homebrew version is made more for "agents" and will run without Obsidian being open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

obsidian-cli skill uses wrong command name

5 participants