Before installing this package, emacs 24 is needed for using Flycheck. If you do not have installed it yet, this package flycheck-ciao will do it automatically from MELPA repository, but as it is not available in emacs by default, you should add this code to your emacs init file.
(require 'package) (add-to-list 'package-archives '("MELPA Stable" . "https://stable.melpa.org/packages/") t) (package-initialize)
There are two options for the setup:
All options when using Flycheck are available on the top bar menu Tools -> Syntax Checking.
(add-hook 'after-init-hook 'global-flycheck-mode)
In the official Flycheck manual some extensions are recommended for better user experience.