Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.22 KB

README-installation-notes.md

File metadata and controls

34 lines (28 loc) · 1.22 KB

Installation Notes

if you are a first-time user of Rust, the notes below may help you to install some of the dependencies on a Mac or Linux workstation.

Rust

We suggest that you install Rust using the 'rustup' tool. Rustup will install the latest version of Rust, Cargo, and the other binaries used in Solana.

Follow the instructions at Installing Rust.

For Mac users, Homebrew is also an option. The Mac Homebrew command is brew install rustup and then rustup-init. See Mac Setup & Installing Rust for more details.

After installation, you should have rustc, cargo, & rustup. You should also have ~/.cargo/bin in your PATH environment variable.

NodeJS/NPM

Fetch the npm dependencies, including @solana/web3.js, by running:

$ npm install

Git Repository

Clone the 'example-helloworld' repository into your development machine:

$ cd /path/to/your/work/folder/
$ git clone https://github.com/solana-labs/example-helloworld.git
$ cd example-helloworld

(If you plan to submit changes in a pull request, be sure to create a fork first and then clone your fork.)