Docs

CLI Reference

Use the CLI to deploy your contracts directly to any EVM compatible blockchain by running:

npx thirdweb [options]

Options

-p--path <string>
  • Path to project
-c--clean
  • Clear the cache before building
--dry-run
  • Dry run (skip actually publishing)
-d--debug
  • Show debug logs
--ci
  • Continuous Integration mode
--dist-path <string>
  • Path to the dist folder where the HTML based App is
-n--name <string>
  • Name of the pre-built or published contract (such as nft-drop)
-f--file <string>
  • Filter for contract files that contain this file name
-cn--contract-name <string>
  • Filter for contracts that contain this contract name
-cv--contract-version <string>
  • Version of the published contract
--app
  • Deploy a web app to decentralized storage
--contract
  • Deploy a smart contract to blockchains
--dynamic
  • Deploy a dynamic smart contract made up of extensions to blockchains
-k--key <string>
  • Optional parameter to use passed in secret key, most useful for continuous integration use cases.