How do i install awscli commands for non-privileged user using pip?



  • Create a directory.

    $ mkdir ~/.local/bin
    

    Add the path to your PATH variable, in .bash_profile or equivalent.

    Get the pip install script.

    $ curl -O https://bootstrap.pypa.io/get-pip.py
    

    Install pip

    $ python get-pip.py --user
    

    Install, upgrade the awscli commands.

    $ pip install awscli --upgrade --user
    

Log in to reply
 

© Lightnetics 2024