Skip to content

Commit

Permalink
minor: cli only install
Browse files Browse the repository at this point in the history
liquidg3 committed Aug 2, 2024

Verified

This commit was signed with the committer’s verified signature.
samdark Alexander Makarov
1 parent f8fd180 commit 6f02846
Showing 2 changed files with 42 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/pages/_data/navigation/mainNav.json5
Original file line number Diff line number Diff line change
@@ -54,14 +54,19 @@
]
},
{
"title": "Development Theatre",
"title": "Recommended: Development Theatre",
"url": "/getting-started/development-theatre/",
"children": []
},
{
"title": "Manually Install Development Theatre",
"title": "Manual: Install Development Theatre",
"url": "/getting-started/manual-install/",
"children": []
},
{
"title": "CLI Only: Install Spruce CLI",
"url": "/getting-started/install-cli/",
"children": []
}
]
},
35 changes: 35 additions & 0 deletions src/pages/getting-started/install-cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Install the Spruce CLI

This is the fastest way to get up and running with the Spruce CLI. This is a great way to get started in writing regression proof node modules.

1. Install <a href="https://nodejs.org/en/">latest LTS Node</a>.
3. Install <a href="https://code.visualstudio.com">Visual Studio Code (vscode)</a>.
4. Setup <a href="https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line">vscode to work through command line</a>.
5. Quit vscode (**very important or vscode won't get new settings**)

## Install Yarn

```bash
npm install -g yarn
```

## Install Spruce CLI

Once Node, Yarn, and vscode are ready, run the following: 👇

```bash
yarn global add @sprucelabs/spruce-cli
```

### Something Missing?

<div class="grid-buttons">
<a class="btn" href="https://forms.gle/2ZMtwUxg1egV8sHT8">Request Documentation Enhancement</a>
</div>

## Now What?

<div class="grid-buttons">
<a class="btn" href="{{ '/ideology/' | url }}">Learn the Spruce Ideology</a>
</div>

0 comments on commit 6f02846

Please sign in to comment.