create-solana-dapp
The fastest way to create Solana apps π Templates π https://github.com/solana-foundation/templates
File Explorer
- config.json
- display-name-init-rename.md
- embeddable-api-surface.md
- esm-bin-node-22-floor.md
- export-template-schemas.md
- mobile-template-filter.md
- package-manager-diagnostics.md
- README.md
- recover-corrupt-template-archive.md
- refresh-cli-dependencies.md
- remove-incompatible-package-manager.md
- rename-in-deprecate-paths.md
- skills-init-config.md
- template-first-prompt-order.md
- template-option-flags.md
- template-option-run-script.md
- template-package-manager.md
- windows-lockfile-cleanup.md
- zod-v4-schemas.md
- action.yml
- publish-packages.yml
- publish-pkg-pr-new.yml
- pull-requests.yml
- typescript-build.yml
- typescript-test.yml
- extensions.json
- settings.json
- fs.ts
- index.ts
- child-process-utils.ts
- clack-tasks.ts
- git.ts
- names.ts
- package-manager.ts
- corrupt-archive-error.ts
- create-app-task-clone-template.ts
- create-app-task-initialize-git.ts
- create-app-task-install-dependencies.ts
- create-app-task-install-skills.ts
- create-app-task-run-init-script.ts
- create-app-task-run-option-script.ts
- create-app-task-run-setup.ts
- create-app.ts
- ensure-target-path.ts
- extract-template-option-flags.ts
- fetch-template-data.ts
- fetch-templates.ts
- final-note.ts
- find-template.ts
- get-app-info.ts
- get-args-result.ts
- get-args.ts
- get-menu-config.ts
- get-menu-items-from-template-groups.ts
- get-package-json-path.ts
- get-package-json.ts
- get-prompt-name.ts
- get-prompt-template.ts
- get-prompts.ts
- get-start-script.ts
- get-template-groups-from-url.ts
- get-templates-from-items.ts
- get-templates-url.ts
- get-version-command.ts
- get-version-urls.ts
- get-version.ts
- init-script-delete.ts
- init-script-instructions.ts
- init-script-options.ts
- init-script-package-manager.ts
- init-script-rename.ts
- init-script-schema.ts
- init-script-version-check.ts
- init-script-version.ts
- list-template-ids.ts
- list-templates.ts
- list-versions.ts
- menu-utils.ts
- parse-version.ts
- remove-incompatible-package-manager.ts
- run-version-check.ts
- search-and-replace.ts
- template-schema.ts
- template.ts
- validate-project-name.ts
- validate-version.ts
- index.ts
- corrupt-archive-error.test.ts
- create-app-task-clone-template.test.ts
- create-app-task-install-dependencies.test.ts
- create-app-task-install-skills.test.ts
- create-app-task-run-init-script.test.ts
- create-app-task-run-option-script.test.ts
- create-app.test.ts
- extract-template-option-flags.test.ts
- final-note.test.ts
- get-args.test.ts
- get-package-json-path.test.ts
- get-package-json.test.ts
- get-prompts.test.ts
- get-start-script.test.ts
- get-version-commands.test.ts
- get-version-urls.test.ts
- get-version.test.ts
- init-script-delete.test.ts
- init-script-instructions.test.ts
- init-script-options.test.ts
- init-script-package-manager.test.ts
- init-script-rename.test.ts
- init-script-schema.test.ts
- init-script-version-check.test.ts
- init-script-version.test.ts
- main.test.ts
- package-manifest.test.ts
- parse-version.test.ts
- remove-incompatible-package-manager.test.ts
- root-exports-schemas.test.ts
- root-exports.test.ts
- search-and-replace.test.ts
- validate-version.test.ts
- .editorconfig
- .gitignore
- .prettierignore
- .prettierrc
- CHANGELOG.md
- CONTRIBUTING.md
- csd.sh
- Dockerfile
- eslint.config.mjs
- lefthook.yml
- LICENSE
- MAINTAINERS.md
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- tsconfig.json
- vitest.config.ts
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
bun create
View Details βΌ
bun create
Create a new project from a template.
bun {{[c|create]}} {{template}}
Create a new project from an official template interactively:
bun {{[c|create]}} {{template}} {{path/to/destination}}
Create a new project from an official template in a new directory:
bun {{[c|create]}} {{https://github.com/username/repo}} {{path/to/destination}}
Create a new project from a GitHub repository template:
corepack
View Details βΌ
corepack
Zero-runtime-dependency package acting as bridge between Node projects and their package managers.
corepack enable
Add the Corepack shims to the Node.js installation directory to make them available as global commands:
corepack enable --install-directory {{path/to/directory}}
Add the Corepack shims to a specific directory:
corepack disable
Remove the Corepack shims from the Node.js installation directory:
git clone
View Details βΌ
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
npm
View Details βΌ
npm
JavaScript and Node.js package manager.
Manage Node.js projects and their module dependencies.
Some subcommands such as `install`, `run`, etc. have their own usage documentation.
npm init {{[-y|--yes]}}
Create a `package.json` file with default values (omit `--yes` to do it interactively):
npm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
pnpm
View Details βΌ
pnpm
Fast, disk space efficient package manager for Node.js.
Manage Node.js projects and their module dependencies.
pnpm init
Create a `package.json` file:
pnpm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
pnpm add {{module_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
yarn
View Details βΌ
yarn
JavaScript and Node.js package manager alternative.
yarn global add {{module_name}}
Install a module globally:
yarn install
Install all dependencies referenced in the `package.json` file (the `install` is optional):
yarn add {{module_name}}@{{version}}
Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency):
