You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Supported languages include Ruby, Node.js, Elixir and more. Supporting a new language is as simple as [this plugin API](https://github.com/asdf-vm/asdf/blob/master/docs/creating-plugins.md).
4
+
Supported languages include Ruby, Node.js, Elixir and [more](https://github.com/asdf-vm/asdf-plugins). Supporting a new language is as simple as [this plugin API](https://github.com/asdf-vm/asdf/blob/master/docs/creating-plugins.md).
Plugins are how asdf understands how to handle different packages. Below is a list of plugins for languages. There is a [super-simple API](https://github.com/asdf-vm/asdf/blob/master/docs/creating-plugins.md) for supporting more languages.
# asdf plugin-add elm https://github.com/vic/asdf-elm
88
67
```
89
68
90
69
##### List installed plugins
@@ -158,7 +137,7 @@ asdf current <name>
158
137
```bash
159
138
asdf global <name><version>
160
139
asdf local<name><version>
161
-
asdf global elixir 1.2.4
140
+
#asdf global elixir 1.2.4
162
141
```
163
142
164
143
`global` writes the version to `$HOME/.tool-versions`.
@@ -193,6 +172,7 @@ The versions can be in the following format:
193
172
*`0.12.3` - an actual version. Plugins that support downloading binaries, will download binaries.
194
173
*`ref:v1.0.2-a` or `ref:39cb398vb39` - tag/commit/branch to download from github and compile
195
174
*`path:/src/elixir` - a path to custom compiled version of a tool to use. For use by language developers and such.
175
+
*`system` - this keyword causes asdf to passthrough to the version of the tool on the system that is not managed by asdf.
196
176
197
177
To install all the tools defined in a `.tool-versions` file run the `asdf install` command with no other arguments in the directory containing the `.tool-versions` file.
198
178
@@ -210,16 +190,34 @@ legacy_version_file = yes
210
190
211
191
*`legacy_version_file` - defaults to `no`. If set to yes it will cause plugins that support this feature to read the version files used by other version managers (e.g. `.ruby-version` in the case of Ruby's rbenv).
212
192
193
+
## Docker images
194
+
195
+
The [asdf-alpine](https://github.com/vic/asdf-alpine) and [asdf-ubuntu](https://github.com/vic/asdf-ubuntu) projects are an ongoing effort to provide Dockerized images of some asdf tools. You can use these docker images as base for your development servers, or for running your production apps.
196
+
197
+
## Development
198
+
199
+
To develop the project, you can simply `git clone` the master branch.
200
+
If you want to try out your changes without making change to your installed `asdf`,
201
+
you can set the `$ASDF_DIR` variable to the path where you cloned the repository,
202
+
and temporarily prepend the `bin` and `shims` directory of the directory to your path.
203
+
204
+
We use [bats](https://github.com/sstephenson/bats) for testing,
205
+
so make sure `bats test/` passes after you made your changes.
206
+
207
+
## Contributing
208
+
209
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for the contribution guidelines.
210
+
213
211
## Credits
214
212
215
-
Me ([@HashNuke](http://github.com/HashNuke)), High-fever, cold, cough.
213
+
Me ([@HashNuke](https://github.com/HashNuke)), High-fever, cold, cough.
216
214
217
215
Copyright 2014 to the end of time ([MIT License](https://github.com/asdf-vm/asdf/blob/master/LICENSE))
> Once upon a time there was a programming language
4
-
There were many versions of it
5
-
So people wrote a version manager for it
6
-
To switch between versions for projects
7
-
Different, old, new.
3
+
> Once upon a time there was a programming language<br/>
4
+
> There were many versions of it<br/>
5
+
> So people wrote a version manager for it<br/>
6
+
> To switch between versions for projects<br/>
7
+
> Different, old, new.
8
8
9
-
> Then there came more programming languages
10
-
So there came more version managers
11
-
And many commands for them
9
+
> Then there came more programming languages<br/>
10
+
> So there came more version managers<br/>
11
+
> And many commands for them
12
12
13
-
> I installed a lot of them
14
-
I learnt a lot of commands
13
+
> I installed a lot of them<br/>
14
+
> I learnt a lot of commands
15
15
16
-
> Then I said, just one more version manager
17
-
Which I will write instead
16
+
> Then I said, just one more version manager<br/>
17
+
> Which I will write instead
18
18
19
-
> So, there came another version manager
20
-
**asdf version manager** - <https://github.com/HashNuke/asdf>
19
+
> So, there came another version manager<br/>
20
+
> **asdf version manager** - <https://github.com/HashNuke/asdf>
21
21
22
-
> A version manager so extendable
23
-
for which anyone can create a plugin
24
-
To support their favourite language
25
-
No more installing more version managers
26
-
Or learning more commands
22
+
> A version manager so extendable<br/>
23
+
> for which anyone can create a plugin<br/>
24
+
> To support their favourite language<br/>
25
+
> No more installing more version managers<br/>
26
+
> Or learning more commands
27
27
28
28
---
29
29
30
-
*This was the mail I wrote to a few friends to tell them about the project. Thanks to [@roshanvid](http://twitter.com/roshanvid) for suggesting that this go into the readme*
30
+
*This was the mail I wrote to a few friends to tell them about the project. Thanks to [@roshanvid](https://twitter.com/roshanvid) for suggesting that this go into the readme*
0 commit comments