Giter VIP home page Giter VIP logo

asdf-awscli's Introduction

asdf-awscli Build Lint

awscli plugin for the asdf version manager.

Build History

Build history

Contents

Dependencies

Install

Plugin:

asdf plugin add awscli
# or
asdf plugin-add awscli https://github.com/MetricMike/asdf-awscli.git

awscli:

# Show all installable versions
asdf list all awscli

# Install the latest version (optionally with a version prefix)
asdf install awscli latest   # 2.11.15
asdf install awscli latest:2 # 2.11.15
asdf install awscli latest:1 # 1.27.119

# Install a specific version
asdf install awscli 2.11.15
asdf install awscli 1.27.119

# Build and install v2 from from source
asdf install awscli ref:2.11.15
asdf install awscli "ref:$(asdf latest awscli 2)" # 2.11.15

# Set a version globally (on your ~/.tool-versions file)
asdf global awscli latest

# Now awscli commands are available
aws --version

v1 - Linux/MacOS/Windows

Only the pre-built installer is supported by this plugin for AWS CLI v1. If you need to build from source, install via pip.

Note: The pre-built installers require a Python 3.8+ distribution at install-time and this Python must remain installed as they're just creating an isolated virtualenv and copying their site-packages over. Refer to the AWS CLI v1 Python version support matrix for which Pythons support which AWS CLI versions. If you remove the Python distribution used at install-time, you must reinstall AWS CLI.

The macOS flavor only provides an x86_64 binary. You must install Rosetta 2 if using Apple Silicon (M1/M2/arm64).

The Linux flavor provides both x86_64 and aarch64 binaries, but has dependencies on glibc, groff, and less. Alpine/musl users should build from source.

The Windows flavor technically works, but ASDF's support for Windows isn't 100% yet.

This is only supported starting from v2.10.0 / 2023-02-15

Building and installing from source requires a Python 3.8+ distribution at build-time. This plugin uses the --with-install-type=portable-exe and --with-download-deps flags to download all required Python dependencies and freeze a static copy of the build-time Python distribution. After a successful installation, there are no dependencies to your build time environment, and the ASDF installs folder could be shared with another air-gapped system that did not have a Python installation.


Check asdf readme for more instructions on how to install & manage versions.

Contributing

Contributions of any kind welcome! See the contributing guide.

Thanks goes to these contributors!

License

See LICENSE © Michael Weigle

asdf-awscli's People

Contributors

angristan avatar awwaiid avatar elementalvoid avatar github-actions[bot] avatar iamhsa avatar jessebye avatar lpgpa avatar mathew-fleisch avatar metricmike avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.