Skip to content

Commit b5d31a0

Browse files
yethikrishnaclaude
andcommitted
fix: update all install commands to use @levelcode/cli package name
The npm package is @levelcode/cli (not bare 'levelcode'). Updated 10 files: install instructions, copy buttons, onboarding, docs, and terminal demo to use the correct scoped package name. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c8365f3 commit b5d31a0

9 files changed

Lines changed: 22 additions & 22 deletions

File tree

‎web/src/components/TerminalDemo.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const getIframeContent = (
128128
<h1>Hello World! 👋</h1>
129129
<p class="success">Everything is working perfectly now!</p>
130130
<p>Like the demo? Pls install LevelCode so we can justify keeping this demo pls:</p>
131-
<code><pre>npm install -g levelcode</pre></code>
131+
<code><pre>npm install -g @levelcode/cli</pre></code>
132132
`
133133

134134
return `
@@ -492,7 +492,7 @@ const TerminalDemo = () => {
492492
for full capabilities:
493493
</p>
494494
<p className="font-mono bg-black/30 p-2 rounded text-white/90 mt-1">
495-
npm install -g levelcode
495+
npm install -g @levelcode/cli
496496
</p>
497497
</div>
498498
</TerminalOutput>,
@@ -941,7 +941,7 @@ const TerminalDemo = () => {
941941
projects!
942942
</p>
943943
<p className="font-mono bg-black/30 p-2 rounded text-white/90 mt-2">
944-
npm install -g levelcode
944+
npm install -g @levelcode/cli
945945
</p>
946946
</div>
947947
</TerminalOutput>,

‎web/src/components/onboard/onboarding-flow.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const editors = [
5858
},
5959
]
6060

61-
const INSTALL_COMMAND = 'npm install -g levelcode'
61+
const INSTALL_COMMAND = 'npm install -g @levelcode/cli'
6262

6363
const detectOS = (): OS => {
6464
if (typeof window !== 'undefined') {

‎web/src/components/ui/enhanced-copy-button.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ export function TerminalCopyButton({
132132
)}
133133
style={{ fontFamily: '"DM Mono", var(--font-mono), monospace' }}
134134
>
135-
npm install -g levelcode
135+
npm install -g @levelcode/cli
136136
</code>
137137
</div>
138-
<EnhancedCopyButton value="npm install -g levelcode" className="ml-2" />
138+
<EnhancedCopyButton value="npm install -g @levelcode/cli" className="ml-2" />
139139
</div>
140140
{pulseBorder && (
141141
<span

‎web/src/components/ui/install-dialog.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function InstallDialog() {
5858
}
5959

6060
const handleInstallCommandCopy = () => {
61-
navigator.clipboard.writeText('npm install -g levelcode')
61+
navigator.clipboard.writeText('npm install -g @levelcode/cli')
6262
posthog.capture(AnalyticsEvent.INSTALL_DIALOG_INSTALL_COMMAND_COPIED)
6363
installCopyButtonRef.current?.click()
6464
}
@@ -131,17 +131,17 @@ export function InstallDialog() {
131131
className="bg-zinc-800/60 border border-zinc-700/50 hover:border-acid-green/50 hover:shadow-[0_0_15px_rgba(0,255,149,0.25)] rounded-md overflow-hidden relative px-3 py-2.5 flex items-center justify-between transition-all duration-300 cursor-pointer group"
132132
onClick={handleInstallCommandCopy}
133133
tabIndex={0}
134-
aria-label="Copy command: npm install -g levelcode"
134+
aria-label="Copy command: npm install -g @levelcode/cli"
135135
onKeyDown={(e) =>
136136
e.key === 'Enter' && handleInstallCommandCopy()
137137
}
138138
>
139139
<code className="font-mono text-white/90 select-all text-sm">
140-
npm install -g levelcode
140+
npm install -g @levelcode/cli
141141
</code>
142142
<div onClick={(e) => e.stopPropagation()} className="ml-2">
143143
<EnhancedCopyButton
144-
value="npm install -g levelcode"
144+
value="npm install -g @levelcode/cli"
145145
ref={installCopyButtonRef}
146146
/>
147147
</div>

‎web/src/components/ui/install-instructions.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function InstallInstructions() {
5555
}
5656

5757
const handleInstallCommandCopy = () => {
58-
navigator.clipboard.writeText('npm install -g levelcode')
58+
navigator.clipboard.writeText('npm install -g @levelcode/cli')
5959
posthog.capture(AnalyticsEvent.ONBOARD_PAGE_INSTALL_COMMAND_COPIED)
6060
installCopyButtonRef.current?.click()
6161
}
@@ -127,17 +127,17 @@ export function InstallInstructions() {
127127
className="bg-zinc-800/60 border border-zinc-700/50 hover:border-acid-green/50 hover:shadow-[0_0_15px_rgba(0,255,149,0.25)] rounded-md overflow-hidden relative px-3 py-2.5 flex items-center justify-between transition-all duration-300 cursor-pointer group"
128128
onClick={handleInstallCommandCopy}
129129
tabIndex={0}
130-
aria-label="Copy command: npm install -g levelcode"
130+
aria-label="Copy command: npm install -g @levelcode/cli"
131131
onKeyDown={(e) =>
132132
e.key === 'Enter' && handleInstallCommandCopy()
133133
}
134134
>
135135
<code className="font-mono text-white/90 select-all text-sm">
136-
npm install -g levelcode
136+
npm install -g @levelcode/cli
137137
</code>
138138
<div onClick={(e) => e.stopPropagation()} className="ml-2">
139139
<EnhancedCopyButton
140-
value="npm install -g levelcode"
140+
value="npm install -g @levelcode/cli"
141141
ref={installCopyButtonRef}
142142
/>
143143
</div>

‎web/src/content/advanced/troubleshooting.mdx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ order: 1
1111

1212
## Version
1313

14-
The latest version of the LevelCode client can be found on the [npm page](https://www.npmjs.com/package/levelcode).
14+
The latest version of the LevelCode client can be found on the [npm page](https://www.npmjs.com/package/@levelcode/cli).
1515

1616
Run `levelcode --version` to make sure you're on the latest version.
1717

1818
LevelCode should auto-update. If not, try the steps below.
1919

2020
## LevelCode not updating
2121

22-
If you see the npm install run but LevelCode still isn't at the latest version, this is most likely an issue with npm's cache. Try running `npm cache clean --force` and then `npm install -g levelcode`.
22+
If you see the npm install run but LevelCode still isn't at the latest version, this is most likely an issue with npm's cache. Try running `npm cache clean --force` and then `npm install -g @levelcode/cli`.
2323

2424
## Install failed
2525

26-
If `npm install -g levelcode` gave you an error regarding permissions, try using setting the owner of that directory to your user.
26+
If `npm install -g @levelcode/cli` gave you an error regarding permissions, try using setting the owner of that directory to your user.
2727

2828
Mac/Linux: `sudo chown -R $(whoami) <directory>`
2929

@@ -93,7 +93,7 @@ One common cause is having conflicting Node/npm installations on your system, pa
9393

9494
If you see "command not found" when trying to run LevelCode:
9595

96-
1. Ensure LevelCode is installed globally: `npm install -g levelcode`
96+
1. Ensure LevelCode is installed globally: `npm install -g @levelcode/cli`
9797
2. Check that your PATH includes npm's global bin directory
9898
3. Try running `which levelcode` to verify the installation location
9999

‎web/src/content/help/quick-start.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ order: 1
1212
Enter the following in your terminal, which could be inside your favorite IDE (VSCode, Cursor, etc.).
1313

1414
```bash
15-
npm install -g levelcode
15+
npm install -g @levelcode/cli
1616
```
1717

1818
## 2. Navigate to your project directory
@@ -51,7 +51,7 @@ Run the `/init` command inside LevelCode to set up project-specific files:
5151

5252
If you run into issues during installation:
5353

54-
1. **Permission issues** — The best fix is to install Node.js using [nvm](https://github.com/nvm-sh/nvm) or [fnm](https://github.com/Schniz/fnm), which avoids permission problems entirely. Then run `npm install -g levelcode` again.
54+
1. **Permission issues** — The best fix is to install Node.js using [nvm](https://github.com/nvm-sh/nvm) or [fnm](https://github.com/Schniz/fnm), which avoids permission problems entirely. Then run `npm install -g @levelcode/cli` again.
5555

5656
2. **Still Having Problems?**
5757
- On Mac/Linux, you can fix permissions with: `sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}`

‎web/src/content/tips/what-makes-levelcode-unique.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ You can step away and come back to finished work.
160160
## Try It Now
161161

162162
```bash
163-
npm install -g levelcode
163+
npm install -g @levelcode/cli
164164
```
165165

166166
Then `cd` to your project and run `levelcode`. Experience the difference in seconds.

‎web/src/content/walkthroughs/creating-your-first-agent.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ order: 1
3737
## Install and Initialize
3838

3939
```bash
40-
npm install -g levelcode
40+
npm install -g @levelcode/cli
4141
```
4242

4343
In your project, start LevelCode and run the `/init` command:

0 commit comments

Comments
 (0)