Running Postitron from Terminal in Mac #9246
-
Add the following function to your pos() {
APP_PATH="/Applications/Positron.app"
CONTENTS="$APP_PATH/Contents"
ELECTRON="$CONTENTS/MacOS/Electron"
CLI="$CONTENTS/Resources/app/out/cli.js"
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
} Now you can open files and folders as pos ~/Desktop/myfile.R
pos ~/myproj |
Beta Was this translation helpful? Give feedback.
Answered by
juliasilge
Sep 1, 2025
Replies: 1 comment
-
Also, do check out the functionality described in https://positron.posit.co/add-to-path.html |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ibnishak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also, do check out the functionality described in https://positron.posit.co/add-to-path.html