Steps To Install flake8 on Mac

Package Information:

Name: flake8
Use: Lint your Python code for style and logical errors
URL: http://flake8.pycqa.org/

Installation Steps:

  1. Open Terminal.
  2. Run the following command

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install flake8 using brew
    brew install flake8

flake8 is ready to use now!