Skip to content

Commit 0069f0a

Browse files
authored
Merge pull request #705 from fastai/mac
enable mac terminal install instead of visual installer
2 parents a5d0549 + c75d83c commit 0069f0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nbdev/shortcuts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _install_linux():
2929

3030
def _install_mac():
3131
system(f'curl -LO {BASE_QUARTO_URL}quarto-macos.pkg')
32-
system('open quarto-macos.pkg')
32+
system('sudo installer -pkg quarto-macos.pkg -target /')
3333

3434
def install_quarto():
3535
"Install latest Quarto on macOS or Linux, prints instructions for Windows"

nbs/16_shortcuts.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
" \n",
6868
"def _install_mac():\n",
6969
" system(f'curl -LO {BASE_QUARTO_URL}quarto-macos.pkg')\n",
70-
" system('open quarto-macos.pkg')\n",
70+
" system('sudo installer -pkg quarto-macos.pkg -target /')\n",
7171
"\n",
7272
"def install_quarto():\n",
7373
" \"Install latest Quarto on macOS or Linux, prints instructions for Windows\"\n",

0 commit comments

Comments
 (0)