# Improve installation of npm-based language servers · gitcafe/zed

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

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

Visibility: public

Requested revision: cf9efd70057c129495dc3184b1056ba6aff3fdcc

Requested commit: cf9efd70057c129495dc3184b1056ba6aff3fdcc

Commit: cf9efd70057c129495dc3184b1056ba6aff3fdcc

Tree: a01ed06c422c9ff0ad7f61f4c2c42342200daf4f

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Improve installation of npm-based language servers

* Use --prefix flag to guarantee that they are installed in .zed
* Use the @latest tag when available
* Extract helper functions

Co-authored-by: Keith Simmons <keith@zed.dev>

```

## Parents

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

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