@@ -27,6 +27,59 @@ workflow should be supported.
27
27
28
28
## setup
29
29
30
+ Run ` qvm init ` and follow the instructions!
31
+
32
+ The instructions approximately will recommend:
33
+
34
+ add the following to your ` ~/.profile ` :
35
+
36
+ ```
37
+ export PATH="$(qvm path add)"
38
+ ```
39
+
40
+ This will make sure the appropriate directories are prepended to your path to detect
41
+ the managed quarto version.
42
+
43
+ NOTE: adding this to your profile instead of ` ~/.bashrc ` or ` ~/.zshrc ` will
44
+ enable both the shell sessions * and* R sessions launched via Rstudio Workbench
45
+ to pick up the change. If you only add to the ` rc ` file, it will only be present
46
+ in the shell.
47
+
48
+ An example complete ` ~/.profile ` file might look like:
49
+
50
+ ```
51
+ # ~/.profile: executed by the command interpreter for login shells.
52
+ # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
53
+ # exists.
54
+ # see /usr/share/doc/bash/examples/startup-files for examples.
55
+ # the files are located in the bash-doc package.
56
+
57
+ # the default umask is set in /etc/profile; for setting the umask
58
+ # for ssh logins, install and configure the libpam-umask package.
59
+ #umask 022
60
+
61
+ # if running bash
62
+ if [ -n "$BASH_VERSION" ]; then
63
+ # include .bashrc if it exists
64
+ if [ -f "$HOME/.bashrc" ]; then
65
+ . "$HOME/.bashrc"
66
+ fi
67
+ fi
68
+
69
+ # set PATH so it includes user's private bin if it exists
70
+ if [ -d "$HOME/bin" ] ; then
71
+ PATH="$HOME/bin:$PATH"
72
+ fi
73
+
74
+ # set PATH so it includes user's private bin if it exists
75
+ if [ -d "$HOME/.local/bin" ] ; then
76
+ PATH="$HOME/.local/bin:$PATH"
77
+ fi
78
+
79
+ export PATH="$(qvm path add)"
80
+
81
+ ```
82
+
30
83
### understanding what is available
31
84
32
85
which versions of quarto do you have installed?
@@ -49,6 +102,16 @@ qvm ls --remote -n 10 # latest 10 releases
49
102
attempt to install all versions in parallel, and will coalesce and return
50
103
any failures at the end.
51
104
105
+ You can also allow interactive selection and filtering by just
106
+ running ` qvm install `
107
+
108
+ ```
109
+ qvm install
110
+ ```
111
+
112
+
113
+
114
+
52
115
``` shell
53
116
qvm install $QUARTO_VERSION $ANOTHER_QUARTO_VERSION
54
117
```
@@ -57,13 +120,10 @@ qvm install $QUARTO_VERSION $ANOTHER_QUARTO_VERSION
57
120
qvm install v0.9.466 v0.9.432
58
121
```
59
122
60
- can also allow interactive selection and filtering by just
61
- running ` qvm install `
62
-
63
- TODO: example of what this looks like:
123
+ the ` latest ` keyword will dynamically install the latest version
64
124
65
125
```
66
- qvm install
126
+ qvm install latest
67
127
```
68
128
69
129
### updating which global version to use
0 commit comments