-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwsl_config.sh
executable file
·60 lines (48 loc) · 1.42 KB
/
wsl_config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env bash
sudo apt update
sudo apt upgrade
sudo apt install nodejs
sudo apt install npm
nvm install v18.17.0
# validate nvm version
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
# essentials
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
# # keyrings
# sudo mkdir -p /etc/apt/keyrings
# echo \
# "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
# $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# # foo bar
# sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
# # dev tools related to xcode-select
# sudo apt install build-essential
# # aws-mfa
# sudo apt -y install python3
# sudo apt -y install python3-pip
# pip install aws-mfa
# sudo apt -y install awscli
# aws configure set region us-east-1
# aws configure set mfa_serial <device-arn>
# run aws configure
# run aws-mfa --device <device-arn>
# # pipenv
# sudo apt install pipenv
# # yarn
# npm install --global yarn
# bunjs
sudo apt install unzip
curl -fsSL https://bun.sh/install | bash
# install git
sudo apt -y install git
git config --global user.name "Alejandro Franco Cedeño"
git config --global user.email "afrancocedeno@gmail.com"
# nest cli
npm install -g @nestjs/cli
# update the advanced package tool (apt)
sudo apt-get update
sudo apt-get -y upgrade