The fastest way to install Micro
curl https://getmic.ro | bash
This script will install micro to the directory you're in. To install somewhere else (e.g. /usr/local/bin), cd there and make sure you can write to that directory, e.g. cd /usr/local/bin; curl https://getmic.ro | sudo bash
There's a couple other things you can do with getmic.ro.
While getmic.ro is tested primarily with bash, it should be compatible with any POSIX shell (we test zsh, dash, ksh, and busybox). If you don't have bash
, you can just use:
curl https://getmic.ro | sh
To verify the script, you can download it and checksum it. The sha256 checksum is 08c2651500958d2c79e96b4fab4629cdca8c9d07f916b81e5fabae961657f4de
.
curl -o getmicro.sh https://getmic.ro
shasum -a 256 getmicro.sh # and check the output
bash getmicro.sh
Thank you for contributing! We use the Github pull request workflow: fork this repo, make your changes, and then submit a pull request. There's a couple things you'll need to do to get your PR merged:
-
Make sure all of the tests pass. Github Actions will report test failures on the PR page once you open it.
-
If you introduce new behavior, update the Github Actions tests (in
.github/workflows/test.yml
) to test that behavior. -
If you introduce new user-facing options or behavior, update this README to document that behavior.
If you're not sure how to do any of these things, feel free to open a PR with your work-in-progress and whatever questions you have!
-
Micro, of course: https://micro-editor.github.io/
-
Loosely based on the Chef curl|bash: https://docs.chef.io/install_omnibus.html
-
ASCII art courtesy of figlet: http://www.figlet.org/