Alterpath allows you to manipulate the system PATH
(environment variable) on Windows in a flexible manner.
- Windows
$ gem install alterpath
$ alterpath -h
Read the usage instructions shown.
$ alterpath prepend "C:\test"
Prepending PATH with "C:\test"!
$ alterpath list
C:\test
...
$ alterpath remove "C:\test"
Removing "C:\test" from PATH!
If the item you're adding is already in PATH
, it will not be added again by default, but you can use -f
to force add it.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request