Create a folder
mkdir sampleapp
\
cd sampleapp
Clone this repository to a folder
git clone https://github.com/magento-architects/magento-project
Create source
folder within your root folder
mkdir source
\
cd source
Clone magento2 repository to ../source
folder
git clone git@github.com:magento-architects/magento2/tree/split-framework
Return back magento-project
folder and run composer install
Framework components will be symlinked from source
folder