Skip to content

Desktop app: a command to install j5 for your own terminal #441

Closed

Description

@Jacksondr5

Problem

The Mac app gives the agents and terminals it runs the j5 command (#418) and deliberately leaves the person's own PATH and shell startup files alone. So someone who only installed the app has no j5 in their own terminal unless they type ~/.j5code/bin/j5 or edit their PATH by hand.

What to build

A command in the desktop app, as VS Code has for code:

  • Install j5 command. Links ~/.local/bin/j5 to the app's script at ~/.j5code/bin/j5. If ~/.local/bin isn't on PATH, it adds the installer's marked line to the shell's startup file, with the directory at the end of PATH, and tells the person which file it changed.
  • Uninstall j5 command. Removes the link and that line. j5 uninstall removes them too.

Decisions already made with Jackson (2026-10-03):

  • It installs into ~/.local/bin with the startup-file line, not /usr/local/bin with an admin password.
  • It runs only when the person asks. The app never edits shell files unprompted.
  • It appears in the command palette (Cmd+K) only, not in Settings or the app menu (Jackson, 2026-10-04). It is desktop-only; a browser or phone connected to a remote server doesn't show it.

The profile-line choice has to match scripts/install.sh (macOS bash's existing login file, fish under XDG_CONFIG_HOME with --path --append, a read-only profile left alone).

Done when

  • From a fresh install of the app, running the command makes j5 work in a new terminal, and the app says what it changed.
  • Running the uninstall command leaves the startup file as it was.
  • The PR has before/after screenshots of the command palette.

Related: #397, #418.

Activity

  1. added a commit that references this issue on Oct 4, 2026
    e26e46b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions