Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit 61c0386

Browse files
authored
fix: Node.js version 22, correct Tabs, unified creation commands (#396)
1 parent 6593326 commit 61c0386

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pages/index.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ Tact is a new programming language for TON Blockchain that is focused on efficie
1010

1111
<Steps>
1212

13-
### Ensure that Node.js LTS is installed and available [#start-1]
13+
### Ensure that the supported version of Node.js is installed and available [#start-1]
1414

15-
To check it, run `node --version{:shell}` — it should show you the version 18.0.0 or later.
15+
To check it, run `node --version{:shell}` — it should show you the version 22.0.0 or later.
1616

1717
### Run the following command [#start-2]
1818

1919
It will create a new project with the simple counter contract:
2020

21-
<Tabs items={['npm', 'yarn', 'pnpm']} defaultIndex="1">
21+
<Tabs items={['npm', 'yarn', 'pnpm', 'bun']} defaultIndex="1">
2222
<Tabs.Tab>
2323
```shell
24-
npm create ton -- simple-counter --type tact-counter --contractName SimpleCounter
24+
npm create ton@latest -- simple-counter --type tact-counter --contractName SimpleCounter
2525
```
2626
</Tabs.Tab>
2727
<Tabs.Tab>
@@ -32,12 +32,12 @@ It will create a new project with the simple counter contract:
3232
</Tabs.Tab>
3333
<Tabs.Tab>
3434
```shell
35-
pnpm create ton simple-counter --type tact-counter --contractName SimpleCounter
35+
pnpm create ton@latest simple-counter --type tact-counter --contractName SimpleCounter
3636
```
3737
</Tabs.Tab>
3838
<Tabs.Tab>
3939
```shell
40-
bun x create-ton bun-simple-counter --type tact-counter --contractName SimpleCounter
40+
bun create ton@latest simple-counter --type tact-counter --contractName SimpleCounter
4141
```
4242
</Tabs.Tab>
4343
</Tabs>

0 commit comments

Comments
 (0)