Skip to content

Don't recommend setting PATH in .zshenv #12461

@johnpryan

Description

@johnpryan

The official instructions recommend using .zshenv to set the PATH variable, but this doesn't work on macOS because something called path_helper runs after .zshenv and overwrites the PATH variable:

More details here: https://gist.github.com/Linerre/f11ad4a6a934dcf01ee8415c9457e7b2

Docs page: https://docs.flutter.dev/install/add-to-path#macos

We should recommend setting the PATH variable in .zprofile instead (for macOS).

Metadata

Metadata

Assignees

Labels

a.get-startedRelates to the Getting Started section of docs.flutter.deve1-hoursEffort: < 8 hrsp1-highMajor but not urgent concern: Resolve in months. Update each month.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions