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 |
---|
| 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 |
---|
| # Installation du CLI
npm install -g aws-cdk
cdk --version
# Installation de la librairie Python
pip install aws-cdk-lib
|
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
|