|
4 | 4 | Before working with the Agoric CLI, Zoe, and other Agoric tools and
|
5 | 5 | software, you need to install the following.
|
6 | 6 |
|
7 |
| -<table border="1"> |
| 7 | +<table> |
| 8 | + <thead> |
| 9 | + <tr> |
| 10 | + <th><b>Step</b></th> |
| 11 | + <th><b>Action</b></th> |
| 12 | + <th><b>Explanation</b></th> |
| 13 | + </tr> |
| 14 | + </thead> |
8 | 15 | <tbody>
|
9 |
| - <th><b>Step</b></th> |
10 |
| - <th><b>Action</b></th> |
11 |
| - <th><b>Explanation</b></th> |
12 |
| - <tr> |
13 |
| - <td><center>0</center></td> |
14 |
| - <td>Use a Unix-like environment</td> |
15 |
| - <td>You will need to type commands at a Bash-like shell command line prompt, |
16 |
| - such as is found in <a href="https://en.wikipedia.org/wiki/Linux">Linux</a>, |
17 |
| - (<a href="https://www.apple.com/macos/">MacOS</a>, or |
18 |
| - <a href="https://docs.microsoft.com/en-us/windows/wsl/">Windows Subsystem for Linux (wsl)</a>.</td> |
19 |
| - <tr> |
20 |
| - <td><center>1</center></td> |
21 |
| - <td><a href="https://nodejs.org/">Install Node.js</a>, version 12.16.1 or higher</td> |
22 |
| - <td></td> |
23 |
| - </tr> |
24 |
| - <tr> |
25 |
| - <td><center>2</center></td> |
26 |
| - <td><a href="https://classic.yarnpkg.com/en/docs/install">Install Yarn 1<br>(Yes, Yarn 1 and not a later version)</a></td> |
27 |
| - <td>Yarn is a package manager for your code and lets developers |
28 |
| - share code with others. Code is shared via a <i>package</i> that contains all shared code and a |
29 |
| - <code>package.json</code> file describing the package. The link takes you to |
30 |
| - the Yarn install page, where you first select what operating system you want to |
31 |
| - install on. Your selection changes the page's content to give install instructions for that |
32 |
| - OS and links to the needed downloads.</td> |
33 |
| - </tr> |
34 |
| - <tr> |
35 |
| - <td><center>3</center></td> |
36 |
| - <td>Open a shell. The rest of this table's Actions take place in |
37 |
| - this shell.</td> |
38 |
| - <td><ul><li>A terminal on Macs; see |
39 |
| - <b>Finder>Applications>Utilities>terminal</b></li> |
40 |
| - <li>To launch a bash shell at a specific folder on Windows 10: |
41 |
| - <ol><li>Navigate to that folder in File Explorer.</li> |
42 |
| - <li>Click the address bar while in that folder.</li> |
43 |
| - <li>Type <code>bash</code> in the address bar and press <b>Enter</b> |
44 |
| - </li></ol></li></ul> |
45 |
| - </td> |
46 |
| - </tr> |
47 |
| - <tr> |
48 |
| - <td><center>4</center></td> |
49 |
| - <td>If you already have a <code>~/agoric-sdk</code> directory, update it: |
50 |
| - <br><code>cd agoric-sdk</code> |
51 |
| - <br><code>git checkout master</code> |
52 |
| - <br><code>git pull</code> |
53 |
| - </td> |
54 |
| - <td>In the next step, if you don't have a copy of our <code>agoric-sdk</code> directory, you'll get one. This is in case you already have one and might need to update it.</td> |
55 |
| - </tr> |
56 |
| - <tr> |
57 |
| - <td><center>5</center></td> |
58 |
| - <td>If you don't have an <code>~/agoric-sdk</code> directory with Agoric's SDK content in it, |
59 |
| - <code>git clone https://github.com/Agoric/agoric-sdk</code></td> |
60 |
| - <td>Get the latest Agoric SDK from the Agoric GitHub |
61 |
| - repository. It goes into the |
62 |
| - <code>agoric-sdk</code> sub-directory of your home directory. |
63 |
| - If the <code>agoric-sdk</code> sub-directory doesn't already exist, |
64 |
| - this operation creates it. |
65 |
| - </td> |
66 |
| - </tr> |
67 |
| - <tr> |
68 |
| - <td><center>6</center></td> |
69 |
| - <td><code>cd ~/agoric-sdk</code></td> |
70 |
| - <td>Change to the <code>agoric-sdk</code> subdirectory in your home |
71 |
| - directory.</td> |
72 |
| - </tr> |
73 |
| - <tr> |
74 |
| - <td><center>7</center></td> |
75 |
| - <td><code>yarn install</code></td> |
76 |
| - <td>Install NPM dependencies.</td> |
77 |
| - </tr> |
78 |
| - <tr> |
79 |
| - <td><center>8</center></td> |
80 |
| - <td><code>yarn build</code></td> |
81 |
| - <td>Build sources that need compiling. <b>Note:</b> |
82 |
| - <code>build</code> is not a standard <code>yarn</code> command, |
83 |
| - but one installed with the Agoric SDK.</td> |
84 |
| - </tr> |
85 |
| - <tr> |
86 |
| - <td><center>9</center></td> |
87 |
| - <td>Install the Agoric CLI by: <code>yarn link-cli |
88 |
| - <<i>agoric script location</i>></code></td> |
89 |
| - <td>Select a location for the Agoric CLI program. For example, |
90 |
| - <code>yarn link-cli /usr/local/bin/agoric</code> (or if that fails |
91 |
| - with permission problems, <code>sudo yarn link-cli /usr/local/bin/agoric</code>) |
| 16 | + <tr> |
| 17 | + <td>0</td> |
| 18 | + <td>Use a Unix-like environment</td> |
| 19 | + <td>You will need to type commands at a Bash-like shell command line prompt, |
| 20 | + such as is found in <a href="https://en.wikipedia.org/wiki/Linux">Linux</a>, |
| 21 | + (<a href="https://www.apple.com/macos/">MacOS</a>, or |
| 22 | + <a href="https://docs.microsoft.com/en-us/windows/wsl/">Windows Subsystem for Linux (wsl)</a>.</td> |
| 23 | + <tr> |
| 24 | + <td>1</td> |
| 25 | + <td><a href="https://nodejs.org/">Install Node.js</a>, version 12.16.1 or higher</td> |
| 26 | + <td></td> |
| 27 | + </tr> |
| 28 | + <tr> |
| 29 | + <td>2</td> |
| 30 | + <td><a href="https://classic.yarnpkg.com/en/docs/install">Install Yarn 1<br>(Yes, Yarn 1 and not a later version)</a></td> |
| 31 | + <td>Yarn is a package manager for your code and lets developers |
| 32 | + share code with others. Code is shared via a <i>package</i> that contains all shared code and a |
| 33 | + <code>package.json</code> file describing the package. The link takes you to |
| 34 | + the Yarn install page, where you first select what operating system you want to |
| 35 | + install on. Your selection changes the page's content to give install instructions for that |
| 36 | + OS and links to the needed downloads.</td> |
| 37 | + </tr> |
| 38 | + <tr> |
| 39 | + <td>3</td> |
| 40 | + <td>Open a shell. The rest of this table's Actions take place in |
| 41 | + this shell.</td> |
| 42 | + <td><ul><li>A terminal on Macs; see |
| 43 | + <b>Finder>Applications>Utilities>terminal</b></li> |
| 44 | + <li>To launch a bash shell at a specific folder on Windows 10: |
| 45 | + <ol><li>Navigate to that folder in File Explorer.</li> |
| 46 | + <li>Click the address bar while in that folder.</li> |
| 47 | + <li>Type <code>bash</code> in the address bar and press <b>Enter</b> |
| 48 | + </li></ol></li></ul> |
92 | 49 | </td>
|
93 |
| - </tr> |
94 |
| -</tbody> |
| 50 | + </tr> |
| 51 | + <tr> |
| 52 | + <td>4</td> |
| 53 | + <td>If you already have a <code>~/agoric-sdk</code> directory, update it: |
| 54 | + <br><code>cd agoric-sdk</code> |
| 55 | + <br><code>git checkout master</code> |
| 56 | + <br><code>git pull</code> |
| 57 | + </td> |
| 58 | + <td>In the next step, if you don't have a copy of our <code>agoric-sdk</code> directory, you'll get one. This is in case you already have one and might need to update it.</td> |
| 59 | + </tr> |
| 60 | + <tr> |
| 61 | + <td>5</td> |
| 62 | + <td>If you don't have an <code>~/agoric-sdk</code> directory with Agoric's SDK content in it, |
| 63 | + <code>git clone https://github.com/Agoric/agoric-sdk</code></td> |
| 64 | + <td>Get the latest Agoric SDK from the Agoric GitHub |
| 65 | + repository. It goes into the |
| 66 | + <code>agoric-sdk</code> sub-directory of your home directory. |
| 67 | + If the <code>agoric-sdk</code> sub-directory doesn't already exist, |
| 68 | + this operation creates it. |
| 69 | + </td> |
| 70 | + </tr> |
| 71 | + <tr> |
| 72 | + <td>6</td> |
| 73 | + <td><code>cd ~/agoric-sdk</code></td> |
| 74 | + <td>Change to the <code>agoric-sdk</code> subdirectory in your home |
| 75 | + directory.</td> |
| 76 | + </tr> |
| 77 | + <tr> |
| 78 | + <td>7</td> |
| 79 | + <td><code>yarn install</code></td> |
| 80 | + <td>Install NPM dependencies.</td> |
| 81 | + </tr> |
| 82 | + <tr> |
| 83 | + <td>8</td> |
| 84 | + <td><code>yarn build</code></td> |
| 85 | + <td>Build sources that need compiling. <b>Note:</b> |
| 86 | + <code>build</code> is not a standard <code>yarn</code> command, |
| 87 | + but one installed with the Agoric SDK.</td> |
| 88 | + </tr> |
| 89 | + <tr> |
| 90 | + <td>9</td> |
| 91 | + <td>Install the Agoric CLI by: <code>yarn link-cli |
| 92 | + <<i>agoric script location</i>></code></td> |
| 93 | + <td>Select a location for the Agoric CLI program. For example, |
| 94 | + <code>yarn link-cli /usr/local/bin/agoric</code> (or if that fails |
| 95 | + with permission problems, <code>sudo yarn link-cli /usr/local/bin/agoric</code>) |
| 96 | + </td> |
| 97 | + </tr> |
| 98 | + </tbody> |
95 | 99 | </table>
|
96 | 100 |
|
0 commit comments