Skip to content

Latest commit

Β 

History

History
185 lines (121 loc) Β· 3.17 KB

File metadata and controls

185 lines (121 loc) Β· 3.17 KB

πŸ“¦ git

Note: If you installed oh-my-zsh before, it should be installed by it.

🐧 Linux User :link: https://www.atlassian.com/git/tutorials/install-git

sudo apt-get install git

🍎 MAC User

brew install git

βœ”οΈ Check if it's correctly installed

git --help

Edit .gitconfig

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

🚩 Optional: For automatically pull with rebase :

git config --global --bool pull.rebase true

πŸ“¦ node

You can install node in many ways, just using the command bellow, or move into nvm section (I recommended) !

🐧 Linux User

sudo apt install nodejs

🍎 MAC User (not recommended)

brew install node

πŸ“¦ nvm

https://nodejs.org/en/download/package-manager#nvm

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash

Add global command

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

You can choose the correct node version to install

nvm install 16.13.2 // or nvm install node (latest version)

nvm alias default 16.13.2 // if you want to set a version by default
// or nvm alias default node

πŸ“¦ npm

🐧 Linux User

sudo apt install npm

❌ If disk error => https://askubuntu.com/questions/386265/media-change-please-insert-the-disc-labeled-when-trying-to-install-ruby-on-ra

🍎 MAC User

node install npm automatically (even with nvm installation)

πŸ“¦ docker 🐳

🐧 Linux User Docker

🍎 MAC User

https://docs.docker.com/docker-for-mac/install/

πŸ“¦ docker-compose 🐳

🐧 Linux User Included in the docker installation above

🍎 MAC User Included in docker desktop

πŸ“¦ kubernetes

🐧 Linux User Kubernetes

🍎 MAC User Not available yet on M1

πŸ“¦ mongodb

🐧 Linux User

sudo apt-get install gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -

https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-18-04

sudo apt install -y mongodb

πŸƒ We will need to run mongo , to run it you can execute this

sudo systemctl start mongodb

But if you want to start it every time you restart your computer

sudo systemctl enable mongodb

And disabled with

sudo systemctl disable mongodb

🍎 MAC User

source: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/

brew tap mongodb/brew

brew install mongodb-community@4.4

Start it:

brew services start mongodb-community

❌ Test if it's working

mongo --eval 'db.runCommand({ connectionStatus: 1 })'

npm important package

πŸ“¦ typescript

npm install -g typescript
npm install --global yarn