Jelajahi Sumber

Add getting started steps for running CLI locally

Josh Lambert 2 bulan lalu
induk
melakukan
34240abdba
1 mengubah file dengan 30 tambahan dan 1 penghapusan
  1. 30 1
      cli/README.md

+ 30 - 1
cli/README.md

@@ -235,6 +235,35 @@ This instructs the AI to proceed without user input.
 
 ## Local Development
 
-### DevTools
+### Getting Started
+
+To build and run the CLI locally off your branch:
+
+#### Install dependencies
+
+```shell
+pnpm install
+pnpm deps:install
+```
+
+#### Build the CLI
+
+```shell
+pnpm build
+```
+
+#### Configure the settings
+
+```shell
+pnpm start config
+```
+
+#### Run the built CLI
+
+```shell
+pnpm start
+```
+
+### Using DevTools
 
 In order to run the CLI with devtools, add `DEV=true` to your `pnpm start` command, and then run `npx react-devtools` to show the devtools inspector.