We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ git --version --build-options git version 2.18.0.windows.1 cpu: x86_64 built from commit: cd1a74fc9dc8a07626c216940db9a51f25206e03 sizeof-long: 4
$ cmd.exe /c ver Microsoft Windows [Version 10.0.15063]
$ cat /etc/install-options.txt Editor Option: VIM Path Option: CmdTools SSH Option: OpenSSH CURL Option: OpenSSL CRLF Option: LFOnly Bash Terminal Option: MinTTY Performance Tweaks FSCache: Enabled Use Credential Manager: Enabled Enable Symlinks: Enabled
$ echo $SHELL /usr/bin/bash
$ aws --version bash: aws: command not found
$ aws.cmd --version aws-cli/1.15.65 Python/3.6.0 Windows/10 botocore/1.10.64
The aws command cannot be found.
aws
Basically aws command doesn't exist, but aws.cmd does. The command works in other terminals such as Hyper, CMD or PowerShell.
aws.cmd
I believe the problem is that this shell doesn't look for scripts with .cmd extension.
.cmd
See:
$ whereis aws C:\Program Files\Amazon\AWSCLI\bin\aws.cmd $ aws bash: aws: command not found $ echo $PATH | egrep ":[^:]+AWS[^:]+:" -o :/c/Program Files/Amazon/AWSCLI/bin: $ ls /c/Program\ Files/Amazon/AWSCLI/bin aws.cmd
The text was updated successfully, but these errors were encountered:
Is the same issue present in MSYS2? If so, this issue might be better reported to https://github.com/Alexpux/MSYS2-packages, as it would be an MSYS2 Bash issue.
Sorry, something went wrong.
I ran into the same Problem. The .cmd files are not recognized by bash because they are windows "commands".
I then installed python and pip to install awscli and it worked for me (https://docs.aws.amazon.com/cli/latest/userguide/awscli-install-windows.html#awscli-install-windows-pip)
However I can't get aws-cli to prompt for a MFA Token when I connect to AWS because git-bash has issues to execute python.
I hope this helps :)
Is the same issue present in MSYS2?
As this question is still unanswered, I see myself forced to close this ticket without further attempts at resolving the issue.
No branches or pull requests
Setup
defaults?
Details
Minimal, Complete, and Verifiable example
this will help us understand the issue.
The
aws
command cannot be found.Basically
aws
command doesn't exist, butaws.cmd
does. The command works in other terminals such as Hyper, CMD or PowerShell.I believe the problem is that this shell doesn't look for scripts with
.cmd
extension.See:
The text was updated successfully, but these errors were encountered: