Git Product home page Git Product logo

dotfiles-macos's Introduction

Dotfiles (Mac OS)

My Mac OS dotfiles

Installation

First of all, install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

And then, manually install Git (not installed by default):

brew install git

Clone the project and place it on your home directory under the name .dotfiles:

git clone [email protected]:fnandogp/dotfiles-macos.git ~/.dotfiles
// OR
git clone https://github.com:fnandogp/dotfiles-macos.git ~/.dotfiles

Install the rcm

brew tap thoughtbot/formulae
brew install thoughtbot/formulae/rcm

Sync your dotfiles:

rcup

To install (or upgrade) packages from your Brewfile, run the following command:

brew bundle install

In case you want to update your Brewfile, run the following command:

brew bundle dump --file ~/.dotfiles/Brewfile -f

ASDF

To install runtime versions:

# Node
asdf plugin add nodejs
bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-release-team-keyring'
asdf install nodejs latest:12
asdf list nodejs
asdf global nodejs 12.x.x # replace it with you current installed version

# Ruby
asdf plugin add ruby
asdf install ruby latest
asdf list ruby
asdf global ruby 2.x.x # replace it with you current installed version

# Python
asdf plugin add python
asdf install python latest:3
asdf install python latest:2
asdf list python
asdf global python 3.x.x 2.7.x # replace it with you current installed version

# PHP
asdf plugin add php https://github.com/asdf-community/asdf-php.git
asdf list php
PHP_WITHOUT_PEAR=yes asdf install php <versions>

# Java
asdf plugin add java https://github.com/halcyon/asdf-java.git
asdf list java
asdf install java latest:openjdk-10
adsf global java openjdk-10x # replace it with you current installed version

dotfiles-macos's People

Contributors

fernando-arkade avatar fnandogp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.