Skip to content

Add Chocolatey Guide for node-gyp on Windows#3008

Merged
cclauss merged 7 commits intonodejs:mainfrom
Eprince-hub:update-docs
Apr 7, 2024
Merged

Add Chocolatey Guide for node-gyp on Windows#3008
cclauss merged 7 commits intonodejs:mainfrom
Eprince-hub:update-docs

Conversation

@Eprince-hub
Copy link
Copy Markdown
Contributor

@Eprince-hub Eprince-hub commented Apr 4, 2024

Closes #2636

Checklist
  • npm install && npm run lint && npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

Update the documentation for Node-Gyp installation on Windows by adding a guide for using Chocolatey to simplify the installation of the required dependencies for the node-gyp. The proposed guide simplifies the process by providing a one-liner command to install the necessary dependencies, namely Python and Visual Studio 2022 workload for C++ tools

@Eprince-hub Eprince-hub marked this pull request as draft April 4, 2024 14:30
@Eprince-hub Eprince-hub marked this pull request as ready for review April 4, 2024 14:48
Comment thread README.md Outdated
Co-authored-by: Christian Clauss <[email protected]>
@cclauss cclauss added the Windows label Apr 4, 2024
@Eprince-hub
Copy link
Copy Markdown
Contributor Author

@cclauss
Do you know if this test failure is something I need to look into? It doesn't seem connected to the PR

@cclauss
Copy link
Copy Markdown
Contributor

cclauss commented Apr 5, 2024

Re-running Tests / macos - 3.12 - 20.x (pull_request)...

Note

Success 👍

Comment thread README.md
@cclauss cclauss merged commit 77737e4 into nodejs:main Apr 7, 2024
lukekarrys pushed a commit that referenced this pull request Dec 2, 2024
* Add chocolatey install

* Revert unwanted diffs

* Add chocolatey guide

* Use bash for code block

* Update README.md

Co-authored-by: Christian Clauss <[email protected]>

* Move chocolatey bash to top

* Fix section identation

---------

Co-authored-by: Christian Clauss <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Chocolatey VS installation steps and project-local msvs_version for Windows (#on-windows)

4 participants