To make a new Agoric Dapp in the foo subdirectory, you can use:
$ yarn create @agoric/dapp foo
or:
$ npm create @agoric/dapp foo
or:
$ pnpm create @agoric/dapp foo
Each of the above commands are shorthand for installing the agoric package, then running agoric init foo.
Please see the Getting Started website for information.