From ce69006037bee8f677c83a0cf76ecc308dc06ca7 Mon Sep 17 00:00:00 2001 From: Quinn Slack Date: Tue, 25 Feb 2020 21:28:15 -0800 Subject: [PATCH] more idiomatic Ubuntu install instructions Installing `nodejs` and `npm` via `apt` is fairly rare for developers in my experience. They usually prefer to use something like nvm instead of installing each npm module as a separate deb package. --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 69e446d..6766c1a 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,11 @@ brew install git node llvm@8 npm i -g yarn ``` -**Ubuntu 18.04** +**Debian/Ubuntu** -``` -apt-get update && apt-get install -y git nodejs npm clang libclang-dev llvm -npm i -g yarn -``` +1. `apt install clang libclang-dev llvm` +1. Install Node.js (if it's not already installed): `apt install nodejs npm` +1. [Install Yarn](https://classic.yarnpkg.com/en/docs/install/#debian-stable) ### Build the C++ compiler plugin and the LSIF conversion tool: