Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Request - How to install on Windows #40

Open
PascCl opened this issue Apr 15, 2019 · 4 comments
Open

Support Request - How to install on Windows #40

PascCl opened this issue Apr 15, 2019 · 4 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@PascCl
Copy link

PascCl commented Apr 15, 2019

Could I get some help on how to run this tool in a Windows environment?

Our projects are inside docker containers using lando/lando, not sure if that is relevant.

Would be awesome if it was possible to install this on Windows so it is project independent.
I know how to install PHP and add things to PATH, but not entirely sure how to get started with this one.

@PascCl
Copy link
Author

PascCl commented Apr 15, 2019

Hmm installation instructions in the readme work on lando/lando
Might still be useful for other Windows users though

@mglaman mglaman added good first issue Good for newcomers help wanted Extra attention is needed labels Apr 26, 2019
@mglaman
Copy link
Owner

mglaman commented Apr 26, 2019

I don't use Windows. I wouldn't have the faintest idea.

@mglaman mglaman added this to Needs triage in Issue triage May 3, 2019
@pinkygoyal22
Copy link

I have my drupal 8 application on docker Lando windows 11.
I Installed drupal-check using composer, I can see the project got downloaded in my vendor directory but when I run below command -
drupal-check -d web/modules/custom/

my system does not recognise drupal-check , I get the following error

drupal-check : The term 'drupal-check' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At line:1 char:1

  • drupal-check -d web/modules/custom/
  •   + CategoryInfo          : ObjectNotFound: (drupal-check:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

Do I need to do something related to path variable set on windows? Can I get some help here?

@tyler36
Copy link
Contributor

tyler36 commented Oct 5, 2023

Being a composer package, this installs and works the same on Windows.

The only "trick" is perhaps an issue on paths.

Assuming you have a terminal open in a project and the project has drupal-check

Option 1. Be explict when calling drupal-check from project root

./vendor/bin/drupal-check

Option 2. Update your path to include ./vendor/bin.
I preferer this method as its a set-and-forget method. Use your favorite search engine to check how to update your path for your specific version of windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
Issue triage
  
Needs triage
Development

No branches or pull requests

4 participants