An easy way to create a new project.
npm create leedom@latest
# or you could give a word as initial project name
npm create leedom@latest my-project
Note that the tag name (@latest
) MUST NOT
be omitted, otherwise npm may resolve to a cached and outdated version
of the package.
# you must install create-leedom online first
pnpm install -g create-leedom
# use it offline, of course online
create-leedom
In this way the CLI works fine, when you are offline. And it will use cache by default, whether you choose to use cache or not.