1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-01 15:55:34 +01:00
docs/developers/ocean-cli/installation.md

22 lines
637 B
Markdown
Raw Normal View History

2023-09-28 13:02:05 +02:00
# Installation
**Clone the Repository**: Begin by cloning the repository. You can achieve this by executing the following command in your terminal:
2023-09-28 16:26:35 +02:00
```bash
2023-09-28 13:02:05 +02:00
$ git clone https://github.com/oceanprotocol/ocean.js-cli.git
```
Cloning the repository will create a local copy on your machine, allowing you to access and work with its contents.
**Install NPM Dependencies**: After successfully cloning the repository, you should install the necessary npm dependencies to ensure that the project functions correctly. This can be done with the following command:
2023-09-28 16:26:35 +02:00
```bash
2023-09-28 13:02:05 +02:00
npm install
```
Build the TypeScript code
2023-09-28 16:26:35 +02:00
```bash
2023-09-28 13:02:05 +02:00
npm run build
```