# Use proper npm arguments and clean its inherited env vars \(\#3419\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/4a01726e5e7097fadad8e6cd86e4babe025b89be)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 4a01726e5e7097fadad8e6cd86e4babe025b89be

Requested commit: 4a01726e5e7097fadad8e6cd86e4babe025b89be

Commit: 4a01726e5e7097fadad8e6cd86e4babe025b89be

Tree: 7a1795e8b6a8b32fc830ca41a4db74290a0d401f

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Use proper npm arguments and clean its inherited env vars (#3419)

Previously, `npm i` command could take too much time to download
dependencies, which was caused by wrong flags used.

Since we run `node` and `npm` processes ourselves and try to isolate
them from potentially "bad" user configs, it seems safer to remove any
ways to re-configure the tools via env vars, so strip off those too.

Release Notes:

- N/A
```

## Parents

- [179ad03ebcdd2d5c0bdefc7814fd0ba4ebfdb94c](https://git.cafe/gitcafe/zed/commit/179ad03ebcdd2d5c0bdefc7814fd0ba4ebfdb94c?format=markdown)

- [5451db9c96acefe842654e23b33230855cd0eb48](https://git.cafe/gitcafe/zed/commit/5451db9c96acefe842654e23b33230855cd0eb48?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/4a01726e5e7097fadad8e6cd86e4babe025b89be?format=markdown)
