CLI
Use the MightyMeld CLI to configure MightyMeld for your project and launch MightyMeld studio.
Installation
You can install the CLI globally using npm:
- npm
- Yarn
- pnpm
npm install -g mightymeld
yarn global add mightymeld
pnpm add -g mightymeld
Or run it via npx without installing first.
npx mightymeld
Upgrading from 0.1.x
With version 0.2.0, we changed our package name from @mightymeld/runtime
to mightymeld
. If you
are upgrading from 0.1.x, you will need to uninstall the old package and install the new one.
- npm
- Yarn
- pnpm
npm uninstall @mightymeld/runtime
yarn remove @mightymeld/runtime
pnpm remove @mightymeld/runtime
If you are using CRA or Vite 5+, the Babel or SWC plugin is no longer needed and you can remove it
from your .babelrc
or vite.config.js
.
Commands
Use the MightyMeld CLI in the same directory as your package.json
file.
npx mightymeld
Starts MightyMeld studio, guiding you through any necessary configuration steps beforehand.
options
Name | Description |
---|---|
--help | Print all the commands and options available in the CLI. |
--run <command> | The given command (for example, npx run dev ) will be used to launch your app before MightyMeld Studio launches, overriding the run value set in mightymeld.json . |
--no-run | Launch only MightyMeld studio. When using this, your app should already be running. |
--debug | Print out debuggin information while running. |
npx mightymeld secrets
Authenticate and download mightymeld.secrets
file for use in your application.
mightymeld tailwind
Updates your configuration as needed to support AI and autocomplete for Tailwind CSS.
npx mightymeld tutorial
Clone and run the MightyMeld tutorial.
npx mightymeld sample
Clone and run a MightyMeld sample project. You will be asked to choose which MightyMeld sample projects you would like to install.