Install
Install thirdweb dependencies into your project. If no path is specified, the current directory will be used.
npx thirdweb install
Usage
Run this command to install thirdweb dependencies into your project. If no path is specified, the current directory will be used.
npx thirdweb install <projectpath> [options]
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:
- Python:
- Smart contract projects:
thirdweb-dev/contracts
- App projects:
thirdweb-sdk
- Smart contract projects:
- Go:
- App projects:
github.com/thirdweb-dev/go-sdk/v2
- App projects:
If any thirdweb package (or Ethers) is already installed, they are updated to the latest compatible version.
Options
--nightly
Install the nightly version of packages.
--dev
Install the dev version of packages.
--debug
Show debug logs