Clarinet Overview

Clarinet is a local development environment that offers everything you need to create, test, and deploy smart contracts on Stacks.

Using a simple command line interface, Clarinet enables you to build and iterate on your contracts locally before moving into production on mainnet.

You can code with Clarity syntax support, run tests, debug your code line by line, and deploy your contracts to a local Stacks blockchain environment to rapidly iterate on your code.

Clarinet can be used locally or as a hosted service in the cloud via the Hiro Platform.

Install Clarinet

Terminal
brew install clarinet
Additional Installation
Check out our Installation Guide for more installation options. For a video guide, please see the Setting Up Your Clarity Environment (Mac) video walkthrough

Guides

  • Clarinet JS SDK: Simplify your testing with the Clarinet SDK.
  • Hiro Platform: Streamline your app development in our hosted dev experience.
  • Stacks.js: Leverage a JavaScript library that handles basic functions, such as user authentication and transaction signing.

Need help building with Clarinet? Reach out to us on the #clarinet channel on Discord under Hiro Developer Tools section. We also host a weekly office hours on Discord every Monday at 11am ET.

Last updated on