# How to install the (deprecated) scrypt package in project

**URL:** <https://forum.openzeppelin.com/t/how-to-install-the-deprecated-scrypt-package-in-project/1894>\
**Category:** Support\
**Created:** [December 6, 2019, 3:13am UTC](https://forum.openzeppelin.com/t/how-to-install-the-deprecated-scrypt-package-in-project/1894 "2019-12-06T03:13:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hibro](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/hibro/32/1449_2.png) [@hibro](https://forum.openzeppelin.com/u/hibro)\
**Post date:** [December 6, 2019, 3:13am UTC](https://forum.openzeppelin.com/t/how-to-install-the-deprecated-scrypt-package-in-project/1894/1 "2019-12-06T03:13:57Z")

</div>

**\> `root@LAPTOP-KV0IMG0V:~/pet-shop-tutorial# truffle test`**  
**\> You can improve web3’s peformance when running Node.js versions older than 10.5.0 by installing the (deprecated) scrypt package in your project**  
Hi,@abcoathup  
How to install it?Could you tell me ?

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [December 6, 2019, 5:18am UTC](https://forum.openzeppelin.com/t/how-to-install-the-deprecated-scrypt-package-in-project/1894/2 "2019-12-06T05:18:01Z")

</div>

Hi @hibro,

I assume it is just `npm install scrypt`  
Though alternatively you may want to upgrade the version of node and npm that you are using.

I currently use:

```auto
$ node --version
v10.16.0
$ npm --version
6.13.2

```

I also use nvm ([My smart contract development environment](https://forum.openzeppelin.com/t/what-is-your-smart-contract-development-environment-setup/855)) to manage my node versions.

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [December 9, 2019, 3:31am UTC](https://forum.openzeppelin.com/t/how-to-install-the-deprecated-scrypt-package-in-project/1894/3 "2019-12-09T03:31:52Z")

</div>

Hi @hibro,

I wanted to check how you got on? Do you still need help?

---

<div class="post-metadata">

**Author:** ![Richard1](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@Richard1](https://forum.openzeppelin.com/u/Richard1)\
**Post date:** [April 18, 2020, 5:36pm UTC](https://forum.openzeppelin.com/t/how-to-install-the-deprecated-scrypt-package-in-project/1894/4 "2020-04-18T17:36:59Z")

</div>

Hello, I am getting similar error and yet to fix it. I will appreciate ant help at all

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [April 20, 2020, 9:22am UTC](https://forum.openzeppelin.com/t/how-to-install-the-deprecated-scrypt-package-in-project/1894/5 "2020-04-20T09:22:35Z")

</div>

Hi @Richard1,

Sorry to hear that you are having an issue.

What are you attempting to install?  
What operating system, node and npm versions are you using?

I am currently using WSL2 on Windows 10, node v10.19.0 and npm 6.14.4
