docs: Make installation command more robust
@@ -40,7 +40,7 @@ cargo install --git https://github.com/project-serum/anchor --tag v0.5.0 anchor-
On Linux systems you may need to install additional dependencies if `cargo install` fails. On Ubuntu,
```bash
-sudo apt-get update && apt-get upgrade && apt-get install -y pkg-config build-essential libudev-dev
+sudo apt-get update && sudo apt-get upgrade && sudo apt-get install -y pkg-config build-essential libudev-dev
```
To install the JavaScript package.
