Skip to content

Latest commit

 

History

History
73 lines (48 loc) · 1.29 KB

ASDF.md

File metadata and controls

73 lines (48 loc) · 1.29 KB

ASDF

ASDF is installed for installing and switching NodeJS and Python environment versions.

Setup NodeJS

Install the Node plugin

asdf plugin-add nodejs

List the all Node versions (or find the LTS versions online)

asdf list all nodejs

Define a global Node version. e.g. 22.2.0 for new features...

asdf install nodejs 22.2.0
asdf global nodejs 22.2.0

When you move into project directories, you may need to install the local version.

For example in a project path there might be a .tool-versions with nodejs 20.9.0

To make that version available, install it with:

asdf install nodejs 20.9.0

Note

For MAC M1, if you want to install Node version <16.x run with arch > -x86_64

arch -x86_64 asdf install nodejs 14.15.4

Setup Python

Install the Python plugin

asdf plugin-add python

List all Python 3 versions to find latest

asdf list all python 3

install any version greater than 3.9 for compatibility, e.g. 3.12.3

asdf install python 3.12.3

Set the global version if you need to for system utils and ad-hoc scripts outside projects:

asdf global python 3.12.3

Continue to AWSSSO