rails generate devise:install rails 6 code example
Example 1: rails install devise
rails generate devise:install
Example 2: rails generate devise model
$ rails generate devise MODEL
rails generate devise:install
$ rails generate devise MODEL