hechoendrupal / drupal-console

The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
http://drupalconsole.com
GNU General Public License v2.0
940 stars 559 forks source link

Remove console installation after a composer global installation #1537

Open dhenriet opened 8 years ago

dhenriet commented 8 years ago

Hi, after a global installation of the drupal console with composer on windows 7 , I can't remove it when using :

composer global remove drupal/console:@stable

nothing has been removed, this is the message

$ composer global remove drupal/console:@stable
Changed current directory to C:/Users/David/AppData/Roaming/Composer
drupal/console:@stable is not required in your composer.json and has not been removed
Package "drupal/console:@stable" listed for update is not installed. Ignoring.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files

after doing this

echo "PATH=$PATH:~/.composer/vendor/bin" >> ~/.bash_profile

now I have an error everytime I open the gitBash

sh.exe": /c/Users/David/.bash_profile: line 1: syntax error near unexpected token ('

I think the drupal console is not for windows users ? I can't make it working on global configation with a drupal alias, and when using in a project folder I have errors.

screenshot_1

itsdarrylnorris commented 8 years ago

@dhenriet , What DrupalConsole version are you running ?

Did you try to installed it with the DrupalConsole installer ? php -r "readfile('https://drupalconsole.com/installer');" > drupal.phar