drush browsefor drush 7x


Display a link to a given path or open link in a browser.

drush browse

  • Arguments


    browse accepts 1 argument/s:


    path : Path to open. If omitted, the site front page will be opened.

  • Options


    browse accepts 2 option/s:


    --browser : Specify a particular browser (defaults to operating system default). Set to 0 to suppress opening a browser.

    --redirect-port : The port that the web server is redirected to (e.g. when running within a Vagrant environment)

  • Examples


    Open default web browser (if configured or detected) to the site front page.

    drush browse

    Open web browser to the path node/1.

    drush browse node/1

    Open a browser to the web site specified in a site alias.

    drush @example.prod

    Open Firefox web browser to the path 'admin'.

    drush browse --browser=firefox admin

  • Comments


    comments powered by Disqus