← Package directory
Available on winget

Install clarinet

Command-line tool and runtime for the Clarity smart contract language.

Install with winget
winget install --id HiroSystems.Clarinet
Upgrade
winget upgrade --id HiroSystems.Clarinet
Uninstall
winget uninstall --id HiroSystems.Clarinet

About clarinet

Clarinet is a Clarity runtime packaged as a command line tool, designed to facilitate smart contract understanding, development, testing and deployment. Clarinet consists of a Clarity REPL and a testing harness, which, when used together allow you to rapidly develop and test a Clarity smart contract, with the need to deploy the contract to a local devnet or testnet.

What's new in 3.15.1

✨ Features - linter: - Add lint case_fn (#2305) (59e3ef3) - Add lints case_trait and case_token (#2304) (47e02fd) - Add clarinet check --show-lints to show details about lints and lint groups (#2298) (0fd8882) - Add lints case_data_var and case_map (#2293) (3c678a3) - Latest version check for cli (#2278) (e4189bd) - Codelens config enhancements (#2273) (6909d11) - Add a strength option for key derivation when using encrypted mnemonics (#2284) (1a24c27) - Dim #[env(simnet)] annotated code with DiagnosticTag::Unnecessary (#2306) (9d194bb) 🧹 Chores - Update default explorer image (#2286) (36684f6) - Add tests covering every diagnostic path in collect_annotations (#2292) (03d9853) - Never lint boot contracts, and don't run linter on certain core commands (#2258) (1b9dba7) ⚙️ Continuous Integration - Clarity vscode workflow (#2285) (2e0783a) 🪲 Bug Fixes - Check client capabilities before running cost analysis (#2283) (4682586) - Ignore env(simnet) annotations that are at end of line (#2291) (56b339b) ➰ Refactors - Don't expose clarity crate from clarity-repl (#2260) (891707a) Contributors @xoloki-stacks @brady-stacks @hugo-stacks @jbencin-stacks

Read release notes

Version history

Version Updated Notes
3.15.1 Unknown ✨ Features - linter: - Add lint case_fn (#2305) (59e3ef3) - Add lints case_trait and case_token (#2304) (47e02fd) - Add clarinet check --show-lints to show details about lints and lint groups (#2298) (0fd8882) - Add lint...
3.8.1 Unknown Release notes
3.8.0 Unknown Clarity 4 Preview This release comes with Clarity 4 preview in Simnet with the contract-hash? function and new keywords: block-time, current-current. It can be enabled with this setting: [contracts.counter] path = 'contr...
3.7.0 Unknown ✨ Features - Show stacks trace on test fail (#1982) (521dd0e) - Warn if falling back to runtime cost perf (#1986) (807bc12) 🐝 Bug Fixes - Add contract-loading-costs to perf.data to match get_costs (#1998) (8b04984) - Bet...
3.4.0 Unknown ✨ Features - Set epoch 3.2 height (#1944) (a6231c6) - Add support for epoch 3.2 and remove clarity wasm (#1932) (69dd184) - Allow mainnet dev wallets in mxs (#1942) (03b04e6) - Add clarient fmt --check (#1920) (80f2647)...
3.3.0 Unknown ✨ Features - Use official stacks node image with multi platform support (#1899) (4836ca2) - Add --create-global-snapshot flag (#1904) (d730cc1) - Add --save-container-logs flag (#1882) (a90772f) - Add a logger hook (#157...
3.2.0 Unknown ✨ Features Hightlight: With this release, the Devnet now starts directly in epoch 3.0. - Devnet snapshot (#1812) (b93870e) - Go to trait definition for impl-trait and use-trait (#1867) (23fcf54) - Add release build for x...
3.1.0 Unknown ✨ Features - Support Stacks.js v7 (#1605) (0363042) 🧹 Chores - Accept ast only in the formatter (#1826) (3cbe924) - Add --stdin flag to formatter (5b5ceca) 🔧 Continuous Integration - Manual_let_else (#1832) (e7e3a33) - B...
3.0.2 Unknown 🧹 Chores - Upgrade sdk version in examples (#1798) (0a5f979) 🐜 Bug Fixes - Formatter: - List formatting breakage (#1806) (e2fa2e0) - Comment spacing (#1802) (095b810) - MXS burn chain hash data (#1808) (70dd652)
3.0.1 Unknown Release notes
2.16.0 Unknown ✨ Features - MXS historical bitcoin data (#1751) (95c0a8c) - Cache simnet remote metadata (#1732) (6758937) - LSP formatting (#1715) (ff62ade) 🧹 Chores - Add formatter readme (#1740) (049cfb7) - Clippy fixes (#1739) (3fd...
2.15.2 Unknown Release notes
2.15.1 Unknown Release notes
2.15.0 Unknown Release notes
2.14.0 Unknown Release notes
2.13.0 Unknown Release notes
2.12.0 Unknown Release notes
2.11.2 Unknown Release notes
2.11.1 Unknown Release notes
2.11.0 Unknown Release notes