Skip to content

Instantly share code, notes, and snippets.

@anuragmathur1
Created July 17, 2019 23:48
Show Gist options
  • Save anuragmathur1/4f35efaff2499d896a7b2b775b32de70 to your computer and use it in GitHub Desktop.
Save anuragmathur1/4f35efaff2499d896a7b2b775b32de70 to your computer and use it in GitHub Desktop.
Install aws cdk - ubuntu18
apt-get install python3-pip -y
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.6 1
sudo update-alternatives --config python
sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
sudo update-alternatives --config pip
pip install aws-cdk.cdk
pip install awscli
export PATH=/home/vagrant/.local/bin:$PATH
echo "export PATH=/home/vagrant/.local/bin:$PATH" >> .bashrc
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
node --version
sudo npm install -g aws-cdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment