Skip to content

Cannot find claude command with TRAMP #131

@david-greene-cb

Description

@david-greene-cb

I cannot start claude from a remote buffer.

Monet mode enabled. Use C-c m for commands.
Started monet websocket server on port 11755
Tramp: Opening connection vterm<1> for [redacted] using ssh...done
Tramp: Setup connection vterm<1> for [redacted] using ssh...done
claude-code--start: Claude Code program ’claude’ not found in PATH

claude is installed in .local/bin and is accessible on the remote machine. I have this set, which should take care of using the remote path when running programs:

  (add-to-list 'tramp-remote-path 'tramp-own-remote-path)

I'm guessing there is a problem with using claude as the emacs-libvterm shell. I have tried editing claude-code.el to set vterm-tramp-shells to the same thing as vterm-shell before running vterm-mode, but it doesn't help. Any ideas on how to fix this would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions