MacOS Setup
This setup is only needed for development. Consumers of Tauri apps will not have to do any of this.
Dependencies
Tauri is a polyglot system, and as such requires a good deal of tooling.
System dependencies:
Node runtime and package manager
We recommend using NVM to manage your node runtime. It allows you to easily switch versions and update.
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 download link
Once nvm is installed (you may have to use another terminal), then install Node 12LTS and the latest NPM:
If you have any problems with NVM, please consult their project readme.
Now that npm is installed, if you like you may additionally install yarn - the preferred package manager of the Tauri team.
Rustc and Cargo package manager
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 download link.
Make sure that rustc and cargo are in your $PATH. Run
and make sure you are on latest update. At the time of this writing it was 2020-05-04, rust version 1.43.1. It is generally good practice to keep your rustc at the latest stable version.
Tauri Bundler
After you have installed Rust and the build toolchain, you may need to open a new shell before continuing.
Install the bundler:
Next Step:
Tauri Integration