vercel / vercel/hyper

Add a link post-first-startup step to link command line?

Open
#3,344 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate

Would it be possible to have Hyper self-symlink after first graphical opening? Here's my issue exactly:

I installed hyper with brew cask install hyper, but then noticed hyper was not in my path even after the first time I opened the graphical .app.

I did some digging and found that simply calling /Applications/Hyper.app/Contents/Resources/bin/hyper links to usr/bin, which is great! Would it be possible for either:

  • the version pushed to brew (so, darwin version) automatically symlink on first-graphical-open
  • OR have hyper link run cli-install.js? This is important so that I can automate adding Hyper in a new environment. Right now I have a hack that just silently called Hyper after my Homebrew cask install script.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading cli-install.js and the Hyper.app startup path, then compare that behavior with the hyper link command and the Homebrew-installed darwin version. Done means a fresh graphical launch or the requested command reliably creates the command-line symlink without requiring a manual workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, macos
Domain
cli, desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.