Fig
Blog
Sign in
Blog

Manual Pages

Explore documentation for 400+ CLI tools
  • Menu
    • hardhat
    • hardhat accounts
    • hardhat check
    • hardhat clean
    • hardhat compile
    • hardhat console
    • hardhat flatten
    • hardhat help
    • hardhat node
    • hardhat run
    • hardhat test

hardhat clean

Clears the cache and deletes all artifacts

Options

NameDescription
--globalClear the global cache

    On this page

  • Options

Edit this page on Github →

Products

  • Scripts
  • Autocomplete
  • Dotfiles & Secrets
  • Fig AI
  • Access
  • Plugin Store
  • Manual Pages

Social

  • Twitter
  • Github
  • Discord

Resources

  • User Manual
  • Documentation
  • Debug

Company

  • Contact us
  • Privacy Policy
  • Blog

Backed By

Backed by Mango CapitalBacked by General Catalyst
Fig

Made with ❤️ in San Francisco
Copyright © 2025 Hercules Labs Inc.