Skip to main content

CLI

Create, build and deploy your smart contracts and apps with our interactive command line interface.

To see all of the available commands, run the following:

npx thirdweb

Create

Create a new project with thirdweb installed and configured.

Select the frameworks you know and love to get started quickly, by providing:

  • A name for your project
  • A framework to build with
  • A language to write in
thirdweb dashboardthirdweb dashboard
npx thirdweb create

Deploy

Deploy your smart contracts to one of our supported networks using the dashboard:

  • Compiles your smart contracts
  • Uploads the contract ABIs to IPFS
  • Allows you to deploy them through the dashboard
thirdweb dashboardthirdweb dashboard
npx thirdweb deploy

Publish

Publishes a versioned release of your contract onto our registry:

  • Compiles your smart contracts
  • Uploads the contract ABIs to IPFS
  • Allows you to publish them through the dashboard
thirdweb dashboardthirdweb dashboard
npx thirdweb publish

Additional commands

Detect

Compile your smart contracts and detect any extensions you have implemented. This command:

  • Detects the framework you're using
  • Compiles all of your smart contracts
  • Prints out the extensions you have implemented for each contract
thirdweb dashboardthirdweb dashboard
npx thirdweb detect