{"id":13727831,"url":"https://github.com/jacob-carlborg/dvm","last_synced_at":"2025-05-08T00:30:56.988Z","repository":{"id":2313013,"uuid":"3272778","full_name":"jacob-carlborg/dvm","owner":"jacob-carlborg","description":"A tool to install and manage D compilers","archived":false,"fork":false,"pushed_at":"2022-03-05T19:49:46.000Z","size":865,"stargazers_count":56,"open_issues_count":24,"forks_count":11,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-04T02:07:43.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jacob-carlborg.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-26T10:10:39.000Z","updated_at":"2024-05-10T01:28:31.000Z","dependencies_parsed_at":"2022-09-05T14:50:14.699Z","dependency_job_id":null,"html_url":"https://github.com/jacob-carlborg/dvm","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacob-carlborg%2Fdvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacob-carlborg%2Fdvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacob-carlborg%2Fdvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacob-carlborg%2Fdvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacob-carlborg","download_url":"https://codeload.github.com/jacob-carlborg/dvm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224679784,"owners_count":17351863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T02:00:33.660Z","updated_at":"2024-11-14T19:30:29.035Z","avatar_url":"https://github.com/jacob-carlborg.png","language":"D","funding_links":[],"categories":["Version Managers","List of \\*env-, ch\\*- and \\*vm- style version managers"],"sub_categories":["D"],"readme":"# DVM - D Version Manager\n\nDVM allows you to easily download and install D compilers and manage different versions of the\ncompilers. When you switch D compiler with the `use` command the compiler will only be\navailable in the current shell. This allows you to have one version of the compiler in one\nshell and another version in another shell. For example, have a D1 version in one shell and a\nD2 version in another.\n\n## Installation\n\n### General Installation Instructions:\n\n1. Download the DVM tool from: https://github.com/jacob-carlborg/dvm/releases\n2. Add executable permissions to the downloaded file.\n3. Run the installation: `$ ./\u003cdvm\u003e install dvm` (where `\u003cdvm\u003e` is the name of the downloaded file)\n\n### Example of installation:\n\n#### Mac OS X:\n\n    $ curl -L -o dvm https://github.com/jacob-carlborg/dvm/releases/download/v0.5.1/dvm-0.5.1-macos \u0026\u0026 chmod +x dvm \u0026\u0026 ./dvm install dvm\n\n#### Linux 64bit\n\n    $ curl -L -o dvm https://github.com/jacob-carlborg/dvm/releases/download/v0.5.1/dvm-0.5.1-linux-ubuntu14.04-x86_64 \u0026\u0026 chmod +x dvm \u0026\u0026 ./dvm install dvm\n\n#### Linux 32bit\n\n    $ curl -L -o dvm https://github.com/jacob-carlborg/dvm/releases/download/v0.4.4/dvm-0.4.4-linux-debian6-x86 \u0026\u0026 chmod +x dvm \u0026\u0026 ./dvm install dvm\n\n#### FreeBSD 64bit (Bash required)\n\n    $ curl -L -o dvm https://github.com/jacob-carlborg/dvm/releases/download/v0.4.4/dvm-0.4.4-freebsd-pcbsd9.1-x86_64 \u0026\u0026 chmod +x dvm \u0026\u0026 ./dvm install dvm\n\n#### Windows\n\nFollow the general installation instructions.\nhttps://github.com/jacob-carlborg/dvm/releases/download/v0.5.1/dvm-0.5.0-win32.exe\n\n#### Upgrading from 0.2.0 to 0.3.0\n\nIt might be necessary to do a complete clean installation by removing ~/.dvm. This is in\nparticular if you had any problems with the previous shell scripts not working.\n\n## Usage\n\n### Install Compilers\n\n* Install a D compiler (DMD): `$ dvm install 2.068.1`\n* Install a D compiler (DMD) with Tango as the standard library: `$ dvm install 1.072 -t`\n\n### Use a Compiler\n\n* Use a D compiler (DMD): `$ dvm use 2.068.1`\n* Use a D compiler (DMD) and set it to default: `$ dvm use 2.068.1 -d`\n* Show usage information: `$ dvm -h`\n\n## License\n\nThe source code is available under the [Boost Software License 1.0](http://www.boost.org/LICENSE_1_0.txt)\n\n## Limitations\n\n* Currently DMD is the only supported compiler\n* On Windows DVM does not work in the PowerShell prompt, only in cmd. Although,\n  it is possible to set a default compiler, `dvm use \u003cversion\u003e -d`, in cmd and\n  then use the compiler in the PowerShell prompt.\n\n## Build Dependencies\n\n* [Dub](http://code.dlang.org/download)\n\n## Build Instructions\n\n1. Run Dub in the directory of the cloned repository: `$ dub build`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacob-carlborg%2Fdvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacob-carlborg%2Fdvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacob-carlborg%2Fdvm/lists"}