Install
Install thirdweb dependencies into your project. If no path is specified, the current directory will be used.
npx thirdweb install
Usage
By running this command, the type of your project is detected by inspecting the package.json
file:
- Smart contract projects:
@thirdweb/contracts
is installed. - App projects:
@thirdweb/react
and@thirdweb/sdk
andethers
v5 are installed.
If any thirdweb package (or Ethers) is already installed, they are updated to the latest compatible version.
npx thirdweb install <projectpath> [options]
Options
--nightly
Install the nightly version of packages.
--dev
Install the dev version of packages.