create-solana-dapp

(β˜… 644)

The fastest way to create Solana apps πŸš€ Templates πŸ‘‰ https://github.com/solana-foundation/templates

File Explorer

  • .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

jsDelivr

jsDelivr 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 β–Ό

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 β–Ό

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 β–Ό

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 β–Ό

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 β–Ό

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 β–Ό

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):

// repository documentation