# Need Help with Running Local tests

**URL:** <https://discourse.processing.org/t/need-help-with-running-local-tests/40637>\
**Category:** Development\
**Tags:** contributions\
**Created:** [January 18, 2023, 7:37pm UTC](https://discourse.processing.org/t/need-help-with-running-local-tests/40637 "2023-01-18T19:37:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdityaShrivastav](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/adityashrivastav/32/17836_2.png) [@AdityaShrivastav](https://discourse.processing.org/u/AdityaShrivastav)\
**Post date:** [January 18, 2023, 7:37pm UTC](https://discourse.processing.org/t/need-help-with-running-local-tests/40637/1 "2023-01-18T19:37:46Z")

</div>

I need help with running tests on my computer. recently I was making changes to the project p5.js. when i read the contibuters guideline page there there were mentioned some tests which can be run through `npm test` or `npm run lint` and `grunt`.  
when i ran or the output was

```auto
> p5@1.5.0 test
> grunt

'grunt' is not recognized as an internal or external command,
operable program or batch file.

```

---

<div class="post-metadata">

**Author:** ![KumuPaul](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kumupaul/32/13072_2.png) [@KumuPaul](https://discourse.processing.org/u/KumuPaul)\
**Post date:** [January 18, 2023, 9:10pm UTC](https://discourse.processing.org/t/need-help-with-running-local-tests/40637/2 "2023-01-18T21:10:58Z")

</div>

You probably need to install grunt globally. I believe the command to do this would be:

```auto
npm install -g grunt-cli

```

---

<div class="post-metadata">

**Author:** ![AdityaShrivastav](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/adityashrivastav/32/17836_2.png) [@AdityaShrivastav](https://discourse.processing.org/u/AdityaShrivastav)\
**Post date:** [January 19, 2023, 8:04am UTC](https://discourse.processing.org/t/need-help-with-running-local-tests/40637/3 "2023-01-19T08:04:59Z")

</div>

installed grunt through the command suggested. but new error arise:

```auto
grunt-cli: The grunt command line interface (v1.4.3)

Fatal error: Unable to find local grunt.

If you're seeing this message, grunt hasn't been installed locally to
your project. For more information about installing and configuring grunt,
please see the Getting Started guide:

```

how can i solve this issue ?  
other than that what are some commands through which i can run part and full test in the p5.js project
