on master help sign in
simplify install commands
9ceada4Tinnus Napbus
content/getting-started/cli.md+8−20
@@ -12,11 +12,7 @@ If you're a power user, you can run the Urbit virtual machine directly using the
12{% tab label="MacOS" %}
12{% tab label="MacOS" %}
13
13
14```bash
14```bash
15−mkdir ~/urbit
16−cd ~/urbit
17−curl -JLO https://urbit.org/install/mac/latest
15+curl -L https://urbit.org/install/mac/latest | tar xzk --strip=1 && ./urbit
18−tar zxvf ./darwin.tgz --strip=1
19−~/urbit/urbit
20```
16```
21
17
22{% /tab %}
18{% /tab %}
@@ -24,18 +20,14 @@ tar zxvf ./darwin.tgz --strip=1
24{% tab label="Linux" %}
20{% tab label="Linux" %}
25
21
26```shell
22```shell
27−mkdir ~/urbit
28−cd ~/urbit
29−wget --content-disposition https://urbit.org/install/linux64/latest
23+curl -L https://urbit.org/install/linux64/latest | tar xzk --strip=1 && ./urbit
30−tar zxvf ./linux64.tgz --strip=1
31−~/urbit/urbit
32```
24```
33
25
34Linux users may need to run this command in another terminal window to access your Urbit on port 80:
26Linux users may need to run this command in another terminal window to access your Urbit on port 80:
35
27
36```shell
28```shell
37sudo apt-get install libcap2-bin
29sudo apt-get install libcap2-bin
38−sudo setcap 'cap_net_bind_service=+ep' ~/urbit/urbit
30+sudo setcap 'cap_net_bind_service=+ep' ./urbit
39```
31```
40
32
41{% /tab %}
33{% /tab %}
@@ -43,11 +35,7 @@ sudo setcap 'cap_net_bind_service=+ep' ~/urbit/urbit
43{% tab label="Windows" %}
35{% tab label="Windows" %}
44
36
45```winbatch
37```winbatch
46−mkdir %USERPROFILE%\urbit
47−cd %USERPROFILE%\urbit
48−curl -JLO https://urbit.org/install/windows/latest
38+curl -L https://urbit.org/install/windows/latest | tar xzk --strip=1 && urbit.exe
49−tar zxvf .\windows.tgz --strip=1
50−%USERPROFILE%\urbit\urbit
51```
39```
52
40
53> Windows 10 build 17063 and later includes the familiar `curl` and `tar` command-line tools.
41> Windows 10 build 17063 and later includes the familiar `curl` and `tar` command-line tools.
@@ -92,10 +80,10 @@ A comet name looks like `~dasres-ragnep-lislyt-ribpyl--mosnyx-bisdem-nidful-marz
92
80
93---
81---
94
82
95−To boot a comet, go into the command line and run the following command from the `urbit` directory you created during [Urbit installation](#os).
83+To boot a comet, go into the command line and run the following command:
96
84
97```sh
85```sh
98−~/urbit/urbit -c mycomet
86+./urbit -c mycomet
99```
87```
100
88
101It may take a while to load the comet (probably only take a few minutes, but it could take longer). This comes along with it being free. When it's done you'll some messages ending like this:
89It may take a while to load the comet (probably only take a few minutes, but it could take longer). This comes along with it being free. When it's done you'll some messages ending like this:
@@ -111,10 +99,10 @@ When your comet is finished booting, you will see `~sampel_marzod:dojo>` (Dojo:
111
99
112To exit Urbit, use `Ctrl-D` or enter `|exit` into Dojo.
100To exit Urbit, use `Ctrl-D` or enter `|exit` into Dojo.
113
101
114−To start your comet up again, run the following from your `urbit` directory (note the lack of `-c` argument):
102+To start your comet up again, run the following (note the lack of `-c` argument):
115
103
116```sh
104```sh
117−~/urbit/urbit mycomet
105+./urbit mycomet
118```
106```
119
107
120### Using the web interface
108### Using the web interface