DevSetup v1.0.10 is here! 🎉 Discover what’s new
Getting Started

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 -list

This 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 myproject

Exporting 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 myproject

Once 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.

If you have other projects that might depend on a package installed by this environment, be aware it will be uninstalled and you might have to reinstall it manually if you need it again in the future.

devsetup -uninstall -name myproject

Updating DevSetup

Sometimes devsetup might have updates available. Running the -update command will cause devsetup to update itself to the most current release.

devsetup -update

Once devsetup is updated. You will need to close and reopen your shell to make use of the new version.