CLI installer inappropriately updates my bash_profile
See original GitHub issueI’ve run the amplify
installer script a few times. Now, in my ~/.bash_profile
I see:
jhwill@9801a7a9c383:~$ cat ~/.bash_profile
. ~/.bashrc
# Added by Amplify CLI binary installer
export PATH="$HOME/.amplify/bin:$PATH"
# Added by Amplify CLI binary installer
export PATH="$HOME/.amplify/bin:$PATH"
# Added by Amplify CLI binary installer
export PATH="$HOME/.amplify/bin:$PATH"
# Added by Amplify CLI binary installer
export PATH="$HOME/.amplify/bin:$PATH"
It should either not update my dot files, or it should ensure only one entry is present.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Troubleshooting AWS CLI errors - AWS Command Line Interface
This error means that the operating system can't find the AWS CLI command. The installation might be incomplete or requires updating. Possible cause:...
Read more >How to reload .bash_profile from the command line
Simply type source ~/.bash_profile . Alternatively, if you like saving keystrokes, you can type . ~/.bash_profile .
Read more >Installing the AWS CLI in MacOS Monterey and Big Sur
Installing the AWS CLI in macOS Catalina. Laptop With AWS Logo. This process works on macOS 10.13 or newer, including macOS 12 Monterey....
Read more >My .bash_profile (how I have emojis in my terminal) - YouTube
You can find my . bash_profile here: https://github.com/kentcdodds/dotfiles/blob/master/. bash_profile.
Read more >How to get a notification when my commands are done
There's a tool called terminal-notifier that you can download or install using Homebrew ... in the terminal being done, add an alias to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jamesonwilliams Once you have installed the packaged CLI once, you should use
amplify upgrade
to install newer versions. This command will not add duplicates to your bash_profile. However, we can add some logic to prevent the duplicatesThis issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels for those types of questions.