# Installing the Agoric SDK
# Quick Start
node --version # 14.15.0 or higher npm install --global yarn git clone https://github.com/Agoric/agoric-sdk cd agoric-sdk yarn install yarn build yarn link-cli ~/bin/agoric agoric --version
Then proceed to starting a project.
A more detailed explanation follows.
Watch: Prepare Your Agoric Environment (Nov 2020)
This presentation is a good overview of the Agoric SDK setup process, though a few details are out of date:
- node version: 12.x is too old; use 14.15.0 or higher
git checkout hackathon-2020-11; use the default
# Platform: Linux shell or equivalent
- To open a terminal on Macs, see Applications>Utilities>terminal in the Finder.
- To launch a bash shell at a specific folder on Windows 10:
- Navigate to that folder in File Explorer.
- Click the address bar while in that folder.
bashin the address bar and press Enter
# Install Node.js 14.15.0 or higher
Download from nodejs.org (opens new window) and follow the instructions for your platform.
# Install Yarn package manager
Follow Yarn Installation (opens new window) instructions; for example:
npm install --global yarn
# Clone the Agoric SDK
git clone https://github.com/Agoric/agoric-sdk cd agoric-sdk
To update an existing clone:
# Install NPM dependencies
Note: If you run into errors during install or build, make sure you have build-essential installed.
# Build packages
agoric command-line interface in a convenient place in your
$PATH such as:
yarn link-cli ~/bin/agoric
sudo yarn link-cli /usr/local/bin/agoric
To check that it's installed correctly: