Bash aws command not found

734    Asked by LachlanCameron in Python , Asked on Apr 22, 2021

 I already installed aws cli in my system. But when I tried to see the version, it shows me the below error.

[root@vm1 ~]# aws --version
bash: aws: command not found...

Why getting the error “AWS command not found” and how can I solve this problem?

Answered by James WILLIAMS

Actually this is not an error. When we didn't set environment path, then we get this output. To avoid this you have to add its environment path in .bashrc file.

    $ export PATH=$HOME/.local/bin:$PATH

Hope this will help.



Your Answer

Interviews

Parent Categories