aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/md/docs/sol-compiler/installation.md
blob: 9c8561d9bf36e158f6d5a9c687a60dc3b1563106 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#### CLI Installation

```bash
yarn global add @0xproject/sol-compiler
```

#### API Installation

```bash
yarn add @0xproject/sol-compiler
```

**Import**

```typescript
import { Compiler } from '@0xproject/sol-compiler';
```

or

```javascript
var Compiler = require('@0xproject/sol-compiler').Compiler;
```