CLI documentation for macOS doesn't work on non-bash shells #82644

Closed
opened 2020-11-12 11:31:57 +01:00 by Christoph Duyster · 7 comments

Pagename: advanced/command_line/launch/macos

instead of

echo "export PATH="$PATH:/Applications/Blender.app/Contents/MacOS" >> ~/.bash_profile

(which doesn't work - i have a mac and it won't work )

it should be

export PATH=$PATH:/Applications/Blender.app/Contents/MacOS

(which works)

Pagename: `advanced/command_line/launch/macos` instead of echo "export PATH="$PATH:/Applications/Blender.app/Contents/MacOS" >> ~/.bash_profile (which doesn't work - i have a mac and it won't work ) it should be export PATH=$PATH:/Applications/Blender.app/Contents/MacOS (which works)

Added subscriber: @LuckyChris

Added subscriber: @LuckyChris
Christoph Duyster changed title from documentation does not work to documentation - small error 2020-11-12 11:32:12 +01:00
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

export PATH=$PATH:/Applications/Blender.app/Contents/MacOS

This will stop working the moment you restart a shell session: new tab or new window or terminal relaunch.

Better solution is to add a note for 10.15+ macOS where zsh is the default shell. So .bash_profile would not take effect.

> export PATH=$PATH:/Applications/Blender.app/Contents/MacOS This will stop working the moment you restart a shell session: new tab or new window or terminal relaunch. Better solution is to add a note for 10.15+ macOS where zsh is the default shell. So .bash_profile would not take effect.
Ankit Meel changed title from documentation - small error to CLI documentation for macOS doesn't work on non-bash shells 2020-11-12 11:39:44 +01:00

you are right, sorry, new proposal:

Add to the PATH on Mac OS X 10.8 Mountain Lion and up
Open up Terminal.
Run the following command: sudo nano /etc/paths.
Enter your password, when prompted.
Go to the bottom of the file, and enter "/Applications/Blender.app/Contents/MacOS"
Hit control-x to quit.
Enter “Y” to save the modified buffer.

Close the terminal and open a new one so that the new path will be used.

you are right, sorry, new proposal: Add to the PATH on Mac OS X 10.8 Mountain Lion and up Open up Terminal. Run the following command: sudo nano /etc/paths. Enter your password, when prompted. Go to the bottom of the file, and enter "/Applications/Blender.app/Contents/MacOS" Hit control-x to quit. Enter “Y” to save the modified buffer. Close the terminal and open a new one so that the new path will be used.

This issue was referenced by 7410

This issue was referenced by 7410
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Aaron Carlisle self-assigned this 2020-11-20 07:08:34 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-manual#82644
No description provided.