Install
Install thirdweb dependencies into your project. If no path is specified, the current directory will be used.
Run this command to install thirdweb dependencies into your project. If no path is specified, the current directory will be used.
This command will automatically detect the type of project you are working on and install or update the appropriate thirdweb dependencies.
Dependencies installed:
- JS/TS
- Smart contract projects:
@thirdweb/contracts
- App projects:
- React:
@thirdweb/react
,@thirdweb/sdk
andethers
v5 - React Native:
@thirdweb/react-native
,@thirdweb/react-native-compat
andethers
v5 - Other:
@thirdweb/sdk
andethers
v5
- React:
- Smart contract projects:
If any thirdweb package (or Ethers) is already installed, they are updated to the latest compatible version.
--nightly
: Install the nightly version of packages.--dev
: Install the dev version of packages.--debug
: Show debug logs.