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
aws-cli
See also:
Create and secure ~/.aws/credentials
~/.aws/credentials
mkdir -p ~/.aws/ chmod 0750 ~/.aws touch ~/.aws/credentials chmod 0600 ~/.aws/credentials touch ~/.aws/config
curl 'https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip' -o ./awscliv2.zip unzip ./awscliv2.zip ./aws/install \ --bin-dir ~/.local/opt/aws-cli \ --install-dir ~/.local/opt/aws-cli \ --update
Create ~/.aws/choices.xml with your local install directory
~/.aws/choices.xml
mkdir -p ~/.aws/
mkdir -p ~/.local/opt
echo '<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <array> <dict> <key>choiceAttribute</key> <string>customLocation</string> <key>attributeSetting</key> <string>'"$HOME/.local/opt"'</string> <key>choiceIdentifier</key> <string>default</string> </dict> </array> </plist>' > ~/.aws/choices.xml
Install the AWS CLI pkg using the conflict-free install directory
curl 'https://awscli.amazonaws.com/AWSCLIV2.pkg' -o ./AWSCLIV2.pkg installer -pkg ./AWSCLIV2.pkg \ -target 'CurrentUserHomeDirectory' \ -applyChoiceChangesXML ~/.aws/choices.xml rm ./AWSCLIV2.pkg
Update PATH
pathman add ~/.local/opt/aws-cli export PATH="/Users/aj/.local/opt/aws-cli:$PATH"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See also:
Create and secure
~/.aws/credentials
Linux Conflict-Free Install
macOS Conflict-Free Install
Create
~/.aws/choices.xml
with your local install directorymkdir -p ~/.aws/
mkdir -p ~/.local/opt
Install the AWS CLI pkg using the conflict-free install directory
Update PATH
The text was updated successfully, but these errors were encountered: