Skip to content

swamybabun/MacOS-Dev-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

MacOS-DEV-tools

Developer tools and commands for Mac OS

This document contains the tools and steps for setting up developer environment. I am using macOS High Sierra 10.13.6 operating system. This document considers you are a newbie to the Mac Computer.

Tools

Google Chrome

Download and install the most famous web browser Google Chrome from Download Google Chrome. Download DMG file and click on it once downloading is finished and then drag&drop the Google chrome icon to Applications folder. Unmount the disc, when you are done with installation.

iTerm2

Download and install the most advanced version of terminal from Download iTerm2.

Sublime Text

Download and install the simple and intuitive editor "sublime Text" from Download SublimeText.

Eclipse

Download and install the Eclipse IDE from Download Eclipse. Go to Eclipse marketplace and install the following plugins, if required - SVN (and then Go to Eclipse-> Preferences -> Team -> SVN -> SVN Connector -> SVNKit ==> select and install.), Themes, Terminal, SonarLint, Jetty Server, PyDEV Tools for Python, Emma Code Coverage, DBWeaver- DB Connector Plugin

MySQL

Download and install MySQL from Download MySQL Server.

At the end of installation, it will ask you to set username and password. Set the credentials and finish installation. After installation, you can login to mysql command line tool and can do further work.

If suppose, it didnt ask you to enter username/password then you can reset the password with below commands and if you are unable to login to root user, then you can do below steps.

  • Open a Terminal and run below commands.

    sudo /usr/local/mysql/support-files/mysql.server stop
    
    sudo ./mysqld_safe --skip-grant-tables
    
  • You can set password to your desired one with below command

     ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass';
    
  • Then start the MySQL server with below command.

     sudo /usr/local/mysql/support-files/mysql.server start
    

HomeBrew

Install home brew an missing package manager for MacOS by using below commands one after other.

  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  
  brew upgrade && brew update

Check if brew installed or not by below command with just typing in terminal.

  brew

Environment Variables

If you wish to append a new software path to the existing PATH variable, below are the steps.

  • EDIT the Bash profile:

    $ vim  ~/.bash_profile
    
  • Appending the new path (MySQL path) to the existing PATH:

    $ echo 'export PATH=$PATH:/usr/local/mysql-8.0.11-macos10.13-x86_64/bin/' >> ~/.bash_profile
    
  • Echo the PATH:

    $ echo $PATH
    

About

Developer tools for Mac OS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published