Improve MacOS Installer Path Handling
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- macos, zsh
- Domain
- cli
Research direction
Start with the macOS package named quarto-1.0.37-macos.pkg and the installed /Applications/quarto/bin/quarto entry point; compare how Homebrew exposes quarto in /opt/homebrew/bin. Done when a standard Homebrew/pkg installation makes quarto discoverable in zsh without manual relocation or symlink setup.
Written by the indexing model from the issue text.
Description
Hi,
First, thanks so much for making this wonderful tool. I've been an active RMarkdown user, while also working heavily with a VS Code and Python. I'm very excited to see there's a RMarkdown equivalent outside R ecosystem, finally.
I intend to use Quarto with only Python and VS Code on macOS. After using homebrew to install quarto, which is the same as installing with the quarto-1.0.37-macos.pkg file, my shell can't find quarto in the PATH.
$ quarto
zsh: command not found: quarto
After some digging, I discovered that quarto-1.0.37-macos.pkg installed quarto folder in /Applications. A simple solution would be adding Applications/quarto/bin into my PATH. However, what I believe is a more elegant solution is following other command line tool installations such as youtube-dl.
For whomever facing the similar problem and also uses homebrew on macOS, I moved /Applications/quarto to /opt/homebrew/Cellar/quarto. Then I added the symbolic link of quarto to /opt/homebrew/bin/ using the following command (you can also just create a symbolic link without moving):
ln -s /opt/homebrew/Cellar/quarto/bin/quarto /opt/homebrew/bin/quarto
Now my shell can successfully pick quarto up.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quarto-dev/quarto-cli
-
binder bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
quarto-dev/quarto-cli#14907 · 3 comments ·
-
brand bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
quarto-dev/quarto-cli#14891 ·
-
brand bug html revealjs
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#14882 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
quarto-dev/quarto-cli#14875 ·
-
Percent scripts: accept raw-string (r""") and '''-delimited markdown cells, as jupytext writes them Openengines-jupyter enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#14850 · 2 comments ·
All issues in quarto-dev/quarto-cli
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
avniproject/avni-client#2135 ·
-
automated broken-link
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
agent/security hive/hosted-available-lke648397-260827-5n31 security
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
A-Release-Notes C-Editing D-Modest S-Ready-For-Implementation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bevyengine/bevy-website#2595 ·