Skip to content

Change export ~/.bash_profile to export ~/.bashrc, #12705

@bolon667

Description

@bolon667

Page URL

https://docs.flutter.dev/install/manual

Page source

https://github.com/flutter/website/blob/main/src/content/install/manual.md

Describe the problem

On Linux Mint 22.2 Zara, this command invalid
echo 'export PATH="$HOME/develop/flutter/bin:$PATH"' >> ~/.bash_profile
but this works perfectly
echo 'export PATH="$HOME/develop/flutter/bin:$PATH"' >> ~/.bashrc
It also an old problem on Linux Mint: https://forums.linuxmint.com/viewtopic.php?t=158113

Expected fix

Replace this
echo 'export PATH="$HOME/develop/flutter/bin:$PATH"' >> ~/.bash_profile
On this
echo 'export PATH="$HOME/develop/flutter/bin:$PATH"' >> ~/.bashrc

Additional context

No response

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    from.page-issueReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions