Getting Started
Listing Environments
As part of the initialization process, devsetup installs the community repository. Initially these are the only environments that will be available
until you export some of your own. The -list command will display all of the environments available as well as what provider they come from.
devsetup -listThis will display the name, version, operating system, provider and filename of each environment.
Installing Environments
Installing an environment is quite simple and devsetup provides multiple ways to install them, the easiest it by just selecting an environment you would like to install from the -list command mentioned previously. For instance if you would like to install the myproject environment from the local repository, running the command below would install it.
devsetup -install -name myprojectExporting Environments
Once you’ve gone through the steps to get an environment setup to work on your project, you can export your environment for others who might also be working on your team. Using the -export command and providing the -name flag automatically exports the environment into your local repository.
devsetup -export -name myprojectOnce an environment is exported, you can share it with others or add it as part of your projects git repository.
Uninstalling Environments
Once you’re done with an environment its easy to uninstall it using devsetup. Simply use the -uninstall command with the -name flag and provide the name of the environment you’d like to uninstall. It will remove all of the packages it installed as part of the installation process.
devsetup -uninstall -name myprojectUpdating DevSetup
Sometimes devsetup might have updates available. Running the -update command will cause devsetup to update itself to the most current release.
devsetup -updateOnce devsetup is updated. You will need to close and reopen your shell to make use of the new version.