- Newest
- Most votes
- Most comments
Hi,
Here are the answers to your questions:
What is prompt/off at the end means ??
Refer this documentation Have the AWS CLI prompt you for commands
And while upgrading , i changed the install directory . will that be a problem ? or should i keep the install directory same as old version ?
It doesn't matter, but do make sure that when you run aws cli, you are using the latest version. You can check this by running following command:
aws --version
Also, run one of the following commands:
which aws
Or
whereis aws
This would give you the location, which awscli version is being picked. If you see old version being pointed, you can create symlink of newly installed binaries at this location, by following command:
cd /usr/local/bin
ln -s /usr/local/aws-cli/v2/current/bin/aws ./
In your case, it already seems reflected but just in case, you see it pointing to older version.
And does aws cli upgrade needs a restart ??
No, it doesn't require restart
Hope you find this information helpful.
Comment here if you have additional questions, happy to help.
Abhishek
Relevant content
- asked 4 months ago
- asked 7 months ago
- asked a year ago
- asked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a month ago
thanks for your reply.. how do i find whether i got both versions installed - cli 1 & cli 2 ??
you can find this way:
cd ~
find . -type d -name awscli
or
find . -type d -name aws-cli
This would give you the location of AWS CLI directory and you go to each location and run the command:
aws --version
Completely optional, if this helps, you can accept the answer.
Do you have additional questions happy to help.