Aller au contenu

Installation Package#

Node JS#

Bash
NODE_VERSION=v16.17.0
NODE_DISTRO=linux-x64

wget https://nodejs.org/dist/$NODE_VERSION/node-$NODE_VERSION-$NODE_DISTRO.tar.xz
mkdir -p /usr/local/lib/nodejs
tar -xJvf node-$NODE_VERSION-$NODE_DISTRO.tar.xz -C /usr/local/lib/nodejs
rm node-$NODE_VERSION-$NODE_DISTRO.tar.xz

export PATH=/usr/local/lib/nodejs/node-$NODE_VERSION-$NODE_DISTRO/bin:$PATH

node --version

AWS CLI#

Bash
1
2
3
4
5
6
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
bash ./aws/install
rm awscliv2.zip && rm -r aws

aws --version

AWS Session Manager plugin for the AWS CLI#

AWS CDK#

https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html

Bash
1
2
3
4
5
6
# Installation du CLI
npm install -g aws-cdk
cdk --version

# Installation de la librairie Python
pip install aws-cdk-lib

Terraform#

Online help

Bash
# Download the signing key to a new keyring
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | tee /usr/share/keyrings/hashicorp-archive-keyring.gpg

# Verify the key's fingerprint
gpg --no-default-keyring --keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg --fingerprint

# Add the HashiCorp repo
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list

apt update
apt install -y terraform
terraform -install-autocomplete