Skip to content

Instantly share code, notes, and snippets.

@papilip
Created August 1, 2022 21:25
Show Gist options
  • Save papilip/083541e87bb52374bfd31427d4c08711 to your computer and use it in GitHub Desktop.
Save papilip/083541e87bb52374bfd31427d4c08711 to your computer and use it in GitHub Desktop.
#--------------------------------
# Dans une fenêtre de Terminal
#--------------------------------
# Changer le nom de l’ordinateur, ne fonctionne pas
#--------------------------------
#sudo scutil --set HotsName "mon-ordi"
#--------------------------------
# Installation de HomeBrew et d’iterm2 pour quitter au plus vite Terminal
#--------------------------------
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install iterm2
#--------------------------------
# Installation de Oh My Zsh
#--------------------------------
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
#--------------------------------
# Installer les application en ligne de commande ou tout en une seule fois
#--------------------------------
brew install autojump git ghostscript gzip httrack p7zip sha3sum speedtest-cli trash tree wget wifi-password youtube-dl
brew install autojump git ghostscript gzip httrack p7zip sha3sum speedtest-cli trash tree wget wifi-password youtube-dl asdf archey imagemagick htop mariadb mas midnight-commander nginx node php phpmyadmin postgresql python rsync sqlite yarn
#--------------------------------
# Pour le dévelopment
#--------------------------------
brew install asdf archey imagemagick htop mariadb mas midnight-commander nginx node php phpmyadmin postgresql python rsync sqlite yarn
#--------------------------------
# Installer les application graphiques
#--------------------------------
brew install adobe-acrobat-reader brave-browser chirp chromium cyberduck deluge discord drawio dropbox epic firefox flycut freeplane gimp google-chrome inkscape jdownloader jitsi-meet opera rectangle scribus signal simple-comic skype speedcrunch stellarium sublime-text teamviewer telegram-desktop temurin twitch-studio vlc vym zoom
#--------------------------------
# Les application graphiques pour developpeur
#--------------------------------
brew install dbeaver-community electron gcollazo-mongodb gitahead gitfiend github pdf-images pdf-toolbox pgadmin4 sublime-merge vscodium
#--------------------------------
# Pour installer AsciiDocFX
#--------------------------------
sudo spctl --master-disable
brew install asciidocfx
sudo spctl --master-enable
#--------------------------------
# Les services si besoin
#--------------------------------
brew services start mariadb
brew services start nginx
brew services start php
brew services start postgresql
#--------------------------------
# Mise en oeuvre d’ASDF
#--------------------------------
echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc
asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git
asdf install ruby latest
asdf global ruby 3.0.2
asdf plugin-add crystal https://github.com/asdf-community/asdf-crystal.git
asdf install crystal latest
asdf global crystal 1.2.0
#--------------------------------
# Autres configurations
#--------------------------------
echo ". ~/.zsh_alias\nexport PATH=\"/usr/local/sbin:\$PATH\"\narchey" >> ${ZDOTDIR:-~}/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment