Install Remix
pnpm dlx create-remix@latest
You will get a peerDependencies error, but you can ignore it. Then set up your own preferences as usual.
Basic version of create-remix
Pre-configured version of create-remix
The only problem is that the remix init
script is not running automatically. Because the installation of peerDependencies failed. So the next step is also necessary.
Initial project setup
You have two ways to set it up.
- Method1 — install
remix
globally
# global install remix
pnpm i -g remix
# remix init
pnpm remix init
- Method2 — use npx
npx remix init
And then you’re able to start your remix by pnpm dev
.
Finish
As pnpm dlx remix init
is not working as npx does, pnpm dlx
is still inconvenient compared to npx
.