git clone https://github.com/alibaba/nacos.git
cd nacos/
mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U  
ls -al distribution/target/
 
// change the $version to your actual path
cd distribution/target/nacos-server-$version/nacos/bin

https://nacos.io/zh-cn/docs/quick-start.html