Note: It you already have Rust installed, it is a good idea to update it with $ rustup update stable
before skipping to step 6. If you have any of the other things alredy installed, you can skip them as needed.
The only prerequisite to install Taruri on Mac(besides Node.js with npm) is homebrew. If you don't have it installed alredy, you can install it by running:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- Once you have homebrew installed, you need to install the Xcode command line tools. That can be done with the following command:
$ xcode-select --install
- Next, you will need to install gcc:
$ brew install gcc
- Then, install Yarn:
$ npm i yarn
- Now, lets install Rust with it's Cargo Manager:
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- And verify the installtaion:
$ rustc --version
- Finally, lets install the Tauri Bundler via Cargo:
$ cargo install tauri-bundler --force
Thats it! The setup is complete. You can now jump to the building app section.