Skip to content

fix(docs): compiler upgrades with npm or yarn v4 #2327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ For a quick start, read the ["Let's start!"](https://docs.tact-lang.org/#start)
If you want more manual control, use [tact-template](https://github.com/tact-lang/tact-template). It's a ready-to-use template with the development environment set up, including the Tact compiler with TypeScript + Jest, a local TON emulator, AI-based editor support, and examples of how to run tests.

```shell
git clone https://github.com/tact-lang/tact-template
git clone --depth 1 https://github.com/tact-lang/tact-template
```

## Community
Expand Down
9 changes: 7 additions & 2 deletions docs/src/content/docs/book/compile.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,20 @@ Work on the compiler is active and extensive, so be sure to check out [NPM](http
To upgrade the Tact compiler to its latest version in a [Blueprint][bp]-based project or a project created from the [tact-template](https://github.com/tact-lang/tact-template), run:

<Tabs>
<TabItem label="yarn" icon="seti:yarn">
<TabItem label="yarn v1" icon="seti:yarn">
```shell
# recommended
yarn upgrade @tact-lang/compiler
```
</TabItem>
<TabItem label="yarn v4+" icon="seti:yarn">
```shell
yarn up @tact-lang/compiler
```
</TabItem>
<TabItem label="npm" icon="seti:npm">
```shell
npm i @tact-lang/compiler@latest
npm update --save @tact-lang/compiler
```
</TabItem>
<TabItem label="pnpm" icon="pnpm">
Expand Down
Loading