Leapp doesn't detect AWS CLI in newer homebrew locations
See original GitHub issueDescribe the bug
Leapp seems to only search for the AWS CLI in /usrl/local/bin
.
Leapp Version 0.11.0
To Reproduce Steps to reproduce the behavior:
- Obtain a new M1 Mac 😃
- Install Homebrew
- Install AWS CLI va Homebrew (
brew install awscli
) - Install Leapp
- Launch Leapp
Expected behavior
Leapp should detect alternative locations of the AWS CLI or allow me to configure the location. The new homebrew path is /opt/homebrew/bin
. Although, it’s probably best for Leapp to search PATH
for the command.
Screenshots
Desktop (please complete the following information):
- macOS 12.3.1
- Leapp 0.11.0
Issue Analytics
- State:
- Created a year ago
- Reactions:11
- Comments:11 (8 by maintainers)
Top Results From Across the Web
(Optional) Install the Session Manager plugin for the AWS ...
The command returns results only if the plugin is located in the default installation directory for your operating system type.
Read more >Install, Update, and Uninstall the AWS CLI version 1 on ...
The following steps enable you to install the AWS CLI version 1 from the command line on any build of macOS. The following...
Read more >Troubleshooting AWS CLI errors
Command not found errors ... This error means that the operating system can't find the AWS CLI command. The installation might be incomplete...
Read more >Uninstalling the AWS CLI version 2
Linux · Find the folder that contains the symlinks to the main program and the completer. $ which aws · Using that information,...
Read more >Installing past releases of the AWS CLI version 2
Install past releases of the AWS Command Line Interface version 2 (AWS CLI version 2) ... For information on the AWS CLI version...
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
just create a soft link
sudo ln -s /opt/homebrew/bin/aws /usr/local/bin/aws
and don’t forget to install the Session Manager too
Thanks @josemiguel. I did the following and it worked for me.