We have audited this bash script, and it does what it says it is supposed to do. Nevertheless, before blindly curl-bashing a script, it is always wise to look at it first. Here is the file as a mere <ahref="https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh"target="_blank">download link</a>.
</Alert>
Once nvm is installed, close and reopen your terminal, then install the latest version of Node.js and npm:
```sh
$ nvm install node --latest-npm
$ nvm use node
```
If you have any problems with nvm, please consult their <ahref="https://github.com/nvm-sh/nvm">project readme</a>.
### Optional Node.js Package Manager
You may want to use an alternative to npm:
-<ahref="https://yarnpkg.com/getting-started"target="_blank">Yarn</a>, is preferred by Tauri's team
## 3. Rustc and Cargo Package Manager <Icon title="control-skip-forward" color="warning"/>
The following command will install <ahref="https://rustup.rs/"target="_blank">rustup</a>, the official installer for <ahref="https://www.rust-lang.org/"target="_blank">Rust</a>.
```
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
<Alerttitle="Note">
We have audited this bash script, and it does what it says it is supposed to do. Nevertheless, before blindly curl-bashing a script, it is always wise to look at it first. Here is the file as a mere <ahref="https://sh.rustup.rs"target="_blank">download link</a>.
</Alert>
To make sure that Rust has been installed successfully, run the following command:
```sh
$ rustc --version
latest update on 2019-12-19, rust version 1.40.0
```
You may need to restart your terminal if the command does not work.