Skip to content

CanarDev/Setup-My-mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Set up Mac OS for developers

This repository provides instructions on how to set up your Mac OS for developers. Whether you are starting a new development project or setting up your development environment, this guide will walk you through the necessary tools, applications, and plugins you need to install and how to install them.

Table of contents

🚨 PRIORITY FOR DEV 🚨

Install oh my zsh

Oh My Zsh is an open source, community-driven framework for managing your Zsh configuration.

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install Homebrew

The Missing Package Manager for macOS (or Linux)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install MAS

mas is a plugin for download MacOs app store apps

brew install mas

Install MariaDB

MariaDB is a database management system

brew install mariadb

mysql.server start

brew services start mariadb
💡 Set Up
sudo mysql_secure_installation

Follow this questions with this responses :

  • Responses to do:
    • N
    • Y
    • “Your new password” = root
    • Y
    • Y
    • Y
    • Y

For finish, restart mariadb:

brew services restart mariadb

Install NVM

Node Version Manager

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

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

nvm install node # "node" is an alias for the latest version

nvm install 8.0 # install node v8

Install Yarn

Yarn is a software packaging system

brew install yarn

Install php

Free programming language, mainly used to produce dynamic web pages via an HTTP server

brew install php
// or
brew install php@8.1

Install Composer

A Dependency Manager for PHP

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
sudo mv composer.phar /usr/local/bin/composer

Install Laravel Valet:

Laravel Valet is a development environment for macOS minimalists.

brew update

brew install php

composer global require laravel/valet

export PATH=$PATH:~/.composer/vendor/bin

valet install

In your folder “Sites”, do :

valet park

For verify if valet is actually working :

valet parked

Install PhpMyAdmin

phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web

💡 Go to the website [phpmyadmin](https://www.phpmyadmin.net/) & download it in your “Sites” folder. Open the zip and delete the zip.

Generate SSH Key Github

ssh-keygen -t ed25519 -C "Your github email"

You need to follow this tuto ;)

🚨 APP’s 🚨

Install Visual Studio Code

brew install --cask visual-studio-code
💡 Set Up shell command
Launch Vs Code and do f1
Search “code” and launch this:
"Shell Command: Install 'code' command in PATH"

Install Hyper

A terminal ******built on web technologies.

Hyper™


Install Docker

Docker is a platform to launch certain applications in software containers.

brew install --cask docker

Install Alt-Tab

AltTabbrings the power of Windows alt-tab to macOS.

brew install --cask alt-tab

Install RayCast

Raycast is a blazingly fast, totally extendable launcher. It lets you complete tasks, calculate, share common links, and much more.

Raycast - Supercharged productivity


Install Discord

Discord is a free proprietary software for VoIP and instant messaging.

brew install --cask discord

Install Sequel Ace

MySQL/MariaDB database management for macOS.

brew install --cask sequel-ace
💡 Test Sequel Ace

You can test your connection with your localhost !

host: localhost // 127.0.0.1
Username: root
Password: "your password"
Port: 80

Install Numi

Beautiful calculator app for Mac.

brew install --cask numi

Install Loom

brew install --cask loom

Install amphetamine

mas install 937984704

Install Browsers

  • brave

    brew install brave-browser
    
  • Chrome

    brew install google-chrome
    
  • Firefox

    brew install firefox
    

Install Google Drive

brew install --cask google-drive

Install Spotify

brew install --cask spotify

Install Teams

brew install --cask microsoft-teams

Install Ngrok

brew install --cask ngrok

Install Figma

brew install --cask figma

Install Postman

brew install --cask postman

🚨 PLUGINS 🚨

Install Auto suggestion for zsh terminal

cd $ZSH_CUSTOM/plugins

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
💡 Configuration :
code ~/.zshrc

After that, search :

plugins=(git)

and add :

plugins=(
	git 
	**zsh-autosuggestions**
)

Install zsh-syntax-highlighting for terminal

brew install zsh-syntax-highlighting
💡 Configuration :

The terminal will show you a source to add in zsh config.

So open zsh config :

code ~/.zshr

And add the source code at the end :)


See All hidden files in Finder

defaults write com.apple.Finder AppleShowAllFiles true

killall Finder

Install TheFuck

Magnificent app which corrects your previous console command.

brew install thefuck
💡 Configuration :
code ~/.zshrc

And add this alias at the end of the code :

eval $(thefuck --alias)

Install Gitmoji

An emoji guide for your commit messages

brew install gitmoji

HTTPD Setup

If your looking for httpd setup, you can check this configuration here made by karlhillx 😃

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published