mkdir -p bin before referencing it