September 4, 2022 • ☕️ 1 min read
日本語

Install Remix

Copy
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

run pnpm dlx create-remix with basic

Pre-configured version of create-remix

run pnpm dlx create-remix with pre-configured

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.

  1. Method1 — install remix globally
Copy
# global install remix
pnpm i -g remix

# remix init
pnpm remix init
  1. Method2 — use npx
Copy
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.


ThunderMiracle

Blog part of ThunderMiracle.com