In order to set up working environment easily, and to share my configurations, I create this repo.
And I hope it will be awesome 🐧
I provide 2 options for installation.
In most cases this one-liner will do the job. If you lack certain privilleges or you want to make custom profiles, you should consider manual installation.
# paste this to cmdline
# install to default dir (~/Awesome-Env)
bash <(curl -s \
https://raw.githubusercontent.com/ApolloBian/Awesome-Env/master/online-bootstrap.sh)
If you want to install to a custom directory, use the following commands
# paste this to cmdline
# install to custom dir
INSTALL_DIR=$HOME/.Awesome-Env # the dir that you want to install to
bash <(curl -s \
https://raw.githubusercontent.com/ApolloBian/Awesome-Env/master/online-bootstrap.sh) \
$INSTALL_DIR
Note: this project uses git submodules, so you MUST clone this repo instead of downloading zipfile.
Esseintially, cmdline tools such as git
and curl
are required, also building toolchains are required
if you are to use some components that requires compiling (such as core-vim_compile
)
Clone this repo to ~/Awesome-Env
. Execute the install.py
script.
git clone https://github.com/ApolloBian/Awesome-Env.git ~/Awesome-Env
cd ~/Awesome-Env
python install.py
If you are working on a machine that you have admin(sudo) privileges, you can execute ./install.py
with no parameters.
This script will automatically detect your platform and choose suitable profiles for you.
However, if you are working on a server of which you don't have sudo privileges, or on which you need to install packages with caution,
you can add --server
param when executing ./install.py
:
./install.py --server
You can choose the modules you need by modifying relative profiles. You can also make your own profiles and install with --custom_profile
parameter:
./install.py --custom_profile profiles/Custom
- Support multiple *nix platforms using profiles
- modulized design, easy to maintain, troubleshoot and expand