There is no
npx create-react-app my-app on cardano unfortunately, but there is a helpful repository that has the project structure necessary to start working with plutus.
So, first, you need to nix-shell inside the plutus-apps repo:
$ git clone https://github.com/input-output-hk/plutus-apps # if you haven't already
$ cd plutus-apps
$ git checkout <current-tag>
The git checkout part just need's to be done in the first time you run this or whenever you change the cabal.project file. "<current-tag>" can be found inside cabal.project file (in this case it would be
So, assuming you are already on a nix-shell, it would look like this:
$ git clone https://github.com/input-output-hk/plutus-starter.git
$ cd plutus-starter
$ cabal update
$ cabal repl
Way longer than the create-react-app one, but that's mainly because of nix-shell, after a while you get used to it.